
26 Jan
2005
26 Jan
'05
7:51 p.m.
How can I convert an Int into a Double?
You don't convert to, you convert from :-) The function 'fromIntegral' is probably what you want.
And what function can I use to convert from Double to Int (the inverse of fromIntegral) ? TIA Dmitri Pissarenko -- Dmitri Pissarenko Software Engineer http://dapissarenko.com