Integer part of a float

Luke Gorrie luke@REDACTED
Tue Feb 1 21:07:54 CET 2005


Kostis Sagonas <kostis@REDACTED> writes:

> I am looking for a built-in function that returns the integer
> part of a (positive) float, something like floor/1, and although
> I've spent quite some time looking for this, I cannot find it,

trunc/1 ?





More information about the erlang-questions mailing list