[Haskell-cafe] Non-integer part of a Double

Maurí­cio briqueabraque at yahoo.com
Thu Nov 2 15:56:18 EST 2006


   Hi,

   Is there a function to get that? I'm using

\x -> x - fromIntegral(floor x)

since I was not able to find something better, but I guess I have missed 
something in the standard library since there are functions with similar 
funcionality.

   Thanks,
   Maurício



More information about the Haskell-Cafe mailing list