Int()

Calculates the closest integer that is smaller than number.

Int( number=number );

Returns: Number

Argument Description
number
number, required

Real number to round down to an integer.

Examples

writeDump(int(7.0));//7
	writeDump(int(6.9));//6
	writeDump(int(-2.9));//-3

See also