Using the following code snippet:
(fromIntegral 100)/10.00
Using the Haskell '98 standard prelude, how do I represent the result with two decimals?
Thanks.
Just for the record:
import Numeric
formatFloatN floatNum numOfDecimals = showFFloat (Just numOfDecimals) floatNum ""