Toggle menu
876
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Round

From Catglobe Wiki
Revision as of 08:03, 22 December 2011 by Cg van (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)



round

Gets the round numeric value of a number expression.

Syntax

round(exp, digits)

Arguments

exp: Is an expression of any type

digit: Is an integer expression

Return type

number

Examples

number a = round(5.252525, 2);

print(a);

//a = 5.25

Availability

Version 4.8