I once implemented a decimal library based around this PEP,

https://www.python.org/dev/peps/pep-0327/

Not sure if that is a good idea or not -- but it seemed like a good idea at the time.

- jeremy

On Mon, Apr 3, 2017 at 7:48 PM, Sandeep Cr <sandeepcr2@gmail.com> wrote:
Hello all,

What is a good data type for storing and manipulating monetary values in a typical web application with payment processing? What are the pros and cons of various options like Data.Scientific, Rational and Decimal? 

_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.