floor

Rounds a number down to the next integer.

Function

result = floor(input)

Arguments

ArgumentData Type
inputnumeric
resultint

Comments

Positive numbers are rounded down. Negative numbers are rounded away from zero.

Examples

result = floor(100.75)
/* result = 100 */