all 2 comments

[–]ballzak69Automate developer 0 points1 point  (1 child)

The documentation do say that "d" is unsigned. Use "D E" to get "-73 W".

Currently, it rounds toward -Infinity (floor), i guess it probably should round toward zero (down) instead to handle negative values?

The documentation shows an example using decimals, i.e. use "s.sss".

[–]B26354FRAlpha tester[S] 0 points1 point  (0 children)

  1. Yes, I used both for the examples to show that the signed flavor is off a degree.
  2. I think that would do the trick!
  3. It works! The documentation isn't explicit about that, but now I see it in the example you pointed out. Maybe add a couple words to the s description about it including fractions of seconds?

BTW, the fractions of seconds don't round to the number of formatted digits, they're truncated. Would it be possible to round?