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

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to