Floor

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