[Haskell-cafe] Number formatting

Anton van Straaten anton at appsolutions.com
Mon Feb 8 06:17:33 EST 2010


Günther Schmidt wrote:
> is there a function which will format a number with separators, 
> something that will turn 14509.8674 into 14,509.86?

There's a small function to do it here:

http://bluebones.net/2007/02/formatting-decimals-in-haskell/



More information about the Haskell-Cafe mailing list