]> git.tdb.fi Git - ext/subsurface.git/commit
Save milli-units with variable precision
authorLinus Torvalds <torvalds@linux-foundation.org>
Sun, 4 Sep 2011 22:08:31 +0000 (15:08 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 4 Sep 2011 22:14:14 +0000 (15:14 -0700)
commitd8cca5bed3b877655555930bc2f6f6f74503b455
treed243e1a5b4fb7de3daad3ebfc56dee336276fd94
parentc66d60efa1efcb5dfbeff3bd345580c977c50f10
Save milli-units with variable precision

Instead of always using three decimal digits, use 1-3 digits.  But do
use at least one, even for integer numbers, just because it makes it so
much clearer that we're dealing with potential fractional values.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
save-xml.c