shift unit to prevent additional digits after rounding
authorMischa POSLAWSKY <perl@shiar.org>
Mon, 31 Oct 2022 15:40:35 +0000 (16:40 +0100)
committerMischa POSLAWSKY <perl@shiar.org>
Tue, 1 Nov 2022 02:14:50 +0000 (03:14 +0100)
commita3dd7b92d69d2a964f51b58917611fe25e9b18b7
tree3d1411f328cb0565c76178ab0af65a71bc8be919
parent571ed1a9a73129dff78c4d04333949605b91c273
shift unit to prevent additional digits after rounding

Fix 0.9995 from showing up as 1000m instead of 1.0.
barcat
t/t1402-rounded.in [new file with mode: 0644]
t/t1402-rounded_-H_-w1.out [new file with mode: 0644]
t/t1403-precision_-H.out