min: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
m (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.50 | |||
|game4= tkoh | |||
|version4= 1.00 | |||
|game5= arma3 | |||
|version5= 0.50 | |||
|gr1= Math | |gr1= Math | ||
| The smaller of a | |descr= The smaller of a and b. | ||
| a '''min''' b | |s1= a '''min''' b | ||
|p1= a: [[Number]] | |p1= a: [[Number]] | ||
Line 15: | Line 30: | ||
|p2= b: [[Number]] | |p2= b: [[Number]] | ||
| [[Number]] | |r1= [[Number]] | ||
|x1= <code>3 '''min''' 2 {{cc|Result is 2}}</code> | |x1= <code>3 '''min''' 2 {{cc|Result is 2}}</code> | ||
|x2= <code>-3 '''min''' -2 {{cc|Result is -3}}</code> | |||
|seealso= [[max]], [[selectMin]], [[selectMax]], [[ceil]], [[floor]], [[linearConversion]], [[Math Commands]] | |seealso= [[max]], [[selectMin]], [[selectMax]], [[ceil]], [[floor]], [[linearConversion]], [[Math Commands]] | ||
}} | }} | ||
Revision as of 16:14, 31 May 2021
Description
- Description:
- The smaller of a and b.
- Groups:
- Math
Syntax
Examples
- Example 1:
3 min 2 // Result is 2
- Example 2:
-3 min -2 // Result is -3
Additional Information
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