Floor

From Catglobe Wiki
Jump to: navigation, search


floor

Gets the floor numeric value of an number expression.

Syntax

floor(exp)

Arguments

exp: Is an expression of number type

Return type

number

Examples

number a = floor(5.5); ''

print(a);

//a = 5

Availability

Version 4.8