Floor

From Catglobe Wiki
Revision as of 09:53, 7 March 2011 by 127.0.0.1 (talk | contribs) (jrfconvert import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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