[prev in list] [next in list] [prev in thread] [next in thread]
List: haskell-cafe
Subject: Re: [Haskell-cafe] Converting from Int to Double
From: Ketil Malde <ketil+haskell () ii ! uib ! no>
Date: 2005-01-26 13:07:05
Message-ID: egacqw1gqu.fsf () dverghimalayaeiner ! ii ! uib ! no
[Download RAW message or body]
Dmitri Pissarenko <mailing-lists@dapissarenko.com> writes:
> 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.
-kzm
--
If I haven't seen further, it is by standing in the footprints of giants
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic