Revert "roundgpx: Behave just like gpst, truncate decimals instead of rounding"
commit08782a5b99f74b5825dc10b52849d5a25bdfc869
authorØyvind A. Holm <sunny@sunbase.org>
Thu, 25 Jul 2013 16:15:05 +0000 (25 18:15 +0200)
committerØyvind A. Holm <sunny@sunbase.org>
Thu, 25 Jul 2013 16:15:05 +0000 (25 18:15 +0200)
treeabc95b0d5189af63d74a0dd97bd2e5794caef740
parentf5b60e233422c491319fa0c031c445b8a304018e
Revert "roundgpx: Behave just like gpst, truncate decimals instead of rounding"

This reverts commit f5b60e233422c491319fa0c031c445b8a304018e. Can't use
truncate because floating point sucks. Things like lon=4.8996 is changed
to 4.899599. Fuck that shit.

b1e7921e-f545-11e2-ac1d-001f3b596ec9
roundgpx
tests/roundgpx/files/rounding.gpx
tests/roundgpx/roundgpx.t