Michael Marte wrote:

> I have a simple problem but it seems to be quite involved: I want to print
> floating point numbers with a given number of decimal points.
>
> First, I found out that both ghc and hugs do not consider the precision
> argument to showPrec.

What precision argument?  There's a precedence argument, but the precision
is news to me...
But you're right, Haskell desperately needs some Library function for
formatting Float numbers.  I thought all implementations had it by now.
I mean, it's the first thing you need when you start using FP numbers.


--

        -- Lennart




Reply via email to