round: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
(formatting) |
||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma1 | |game1= arma1 | ||
|1.00 | |version1= 1.00 | ||
| | |game2= arma2 | ||
|version2= 1.00 | |||
|game3= arma2oa | |||
|version3= 1.51 | |||
|game4= tkoh | |||
| | |version4= 1.00 | ||
| | |game5= arma3 | ||
| | |version5= 1.00 | ||
| | |gr1= Math | ||
| | |descr= Rounds '''x''' up or down to the closest integer. | ||
|s1= '''round''' x | |||
|p1= x: [[Number]] | |||
|r1= [[Number]] | |||
{{ | |x1= <code>[[round]] 5.25; {{cc|Result is 5}}</code> | ||
|x2= <code>[[round]] [[-]]5.25; {{cc|Result is -5}}</code> | |||
< | |||
|seealso= [[floor]], [[ceil]], [[linearConversion]] | |||
}} | |||
Revision as of 11:51, 14 March 2021
Description
- Description:
- Rounds x up or down to the closest integer.
- Groups:
- Math
Syntax
Examples
Additional Information
- See also:
- floorceillinearConversion
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