Floor

From Catglobe Wiki
Revision as of 11:08, 12 December 2011 by Cg pham (talk | contribs)
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