[Haskell-beginners] easy question: transform Float -> Int how?
nrujac at gmail.com
Fri Apr 25 15:03:36 UTC 2014
This page <http://www.haskell.org/haskellwiki/Converting_numbers> should
have you covered. Check section 3 especially.
On Fri, Apr 25, 2014 at 10:56 AM, John M. Dlugosz
<ngnr63q02 at sneakemail.com>wrote:
> If I have a value of type Float, and I want to pass it (approximately
> rounded) to a function wanting an Int, how do I do that?
> Beginners mailing list
> Beginners at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Beginners