This commit is contained in:
Joey Hess 2013-07-20 20:56:04 -04:00
parent e565b42f07
commit 4c164c8c70

View file

@ -31,4 +31,3 @@ showPercentage precision (Percentage p) = v ++ "%"
where
v = showImprecise precision n
n = fromRational p :: Double
strip0s = reverse . dropWhile (== '0') . reverse