disable thousands punctuation, it's not so easy

This commit is contained in:
Simon Michael 2007-07-07 09:19:20 +00:00
parent 3ca6ebdf46
commit b840d69d67

View File

@ -48,7 +48,7 @@ instance Show Amount where show = showAmountRounded
showAmountRounded :: Amount -> String
showAmountRounded (Amount c q p) =
(symbol c) ++ (punctuatethousands $ printf ("%."++show p++"f") q)
(symbol c) ++ ({-punctuatethousands $ -}printf ("%."++show p++"f") q)
showAmountRoundedOrZero :: Amount -> String
showAmountRoundedOrZero a@(Amount c _ _) =