Hi,

How can I select the integral part of a float without going via the string type (which appears to be the only way in which is it possible to do it now)?

Example:

val f:float -> int

f 1.0001  => 1
f 1.9999  => 1

--
Best regards,
  Ron de Bruijn

_______________________________________________
Ur mailing list
[email protected]
http://www.impredicative.com/cgi-bin/mailman/listinfo/ur

Reply via email to