round

From Bohemia Interactive Community
Revision as of 19:23, 11 February 2007 by Kronzky (talk | contribs) (corrected description)
Jump to navigation Jump to search
-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Rounds up or down to the closest integer of x.
Groups:
Uncategorised

Syntax

Syntax:
round x
Parameters:
x: Number
Return Value:
Integer

Examples

Example 1:
round 5.25, result is 5
Example 2:
round 5.55, result is 6

Additional Information

See also:
floor

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section