[Haskell-cafe] What is a safe Haskell data type to store and manipulate Money values?

Brandon Allbery allbery.b at gmail.com
Tue Apr 4 15:20:12 UTC 2017


On Tue, Apr 4, 2017 at 11:10 AM, David Turner <dct25-561bs at mythic-beasts.com
> wrote:

> it's not normally useful to be able to represent things smaller than £0.01
> (or whatever the smallest unit of your local currency is)


Currency conversion was specifically mentioned, and from what I have seen
the convention there is to go to tenths of the local smallest unit of
currency. Going to the smallest unit itself in the presence of currency
conversions is problematic.


-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20170404/b9fc1be4/attachment.html>


More information about the Haskell-Cafe mailing list