Floor

From Catglobe Wiki
Revision as of 07:35, 22 March 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