
4 Apr
2017
4 Apr
'17
10:50 a.m.
Am 04.04.2017 um 16:13 schrieb ALeX Kazik:
Leaving aside the legal aspects of this, what would be Haskell's equivalent of the BigDecimal format in Java (or Ruby)? Decimal (as used by hledger)?
Rational?
You'd be constantly be doing explicit calculations to get back to a denominator of 100. Plus you'd have to deal with those cases where the denominator is a divisor of 100, and you'd need explicit nonstandard conversion to strings.