round

From Bohemia Interactive Community
Jump to: navigation, search
Introduced in Armed Assault version 1.00

Click on the images for descriptions

Introduced in

Game:
Armed Assault
Version:
1.00

Description

Description:
Rounds up or down to the closest integer.

Syntax

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

Examples

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

Additional Information

Multiplayer:
-
See also:
Math Commands : ceil, floor

Notes

Notes


Only post proven facts here. Use the talk page or the forums for discussions.

Notes

Bottom Section