floor { flt -> int } ceiling { flt -> int } truncate { flt -> int } round { flt -> int }
floor
truncates towards negative infinity;
ceiling
truncates toward positive infinity;
truncate
truncates toward zero;
round
truncates toward nearest integer.
Go to the first, previous, next, last section, table of contents.