[Haskell-cafe] Converting from Int to Double
Stefan Holdermans
sholderm at students.cs.uu.nl
Wed Jan 26 07:55:21 EST 2005
Dmitri,
> How can I convert an Int into a Double?
fromIntegral :: (Integral a, Num b) => a -> b
HTH,
Stefan
More information about the Haskell-Cafe
mailing list