[Haskell-cafe] What is a safe Haskell data type to store and manipulate Money values?
saurabhnanda at gmail.com
Tue Apr 4 15:11:22 UTC 2017
Curious to know what StanChart is using to represent monetary values in its
On Tue, Apr 4, 2017 at 8:20 PM, Joachim Durchholz <jo at durchholz.org> wrote:
> Am 04.04.2017 um 16:13 schrieb ALeX Kazik:
>> Leaving aside the legal aspects of this, what would be Haskell's
>>> of the BigDecimal format in Java (or Ruby)? Decimal (as used by hledger)?
> 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.
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> Only members subscribed via the mailman list are allowed to post.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe