min: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(48 intermediate revisions by 13 users not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=command | |||
|game1= arma1 | |||
|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 | |||
|descr= The smaller of a and b. | |||
[[ | |s1= a [[min]] b | ||
|p1= a: [[Number]] | |||
|p2= b: [[Number]] | |||
|r1= [[Number]] | |||
|x1= <sqf>3 min 2 // Result is 2</sqf> | |||
|x2= <sqf>-3 min -2 // Result is -3</sqf> | |||
|seealso= [[max]] [[selectMin]] [[selectMax]] [[ceil]] [[floor]] [[linearConversion]] [[Math Commands]] | |||
}} |
Latest revision as of 16:21, 13 May 2022
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
- See also:
- max selectMin selectMax ceil floor linearConversion Math Commands
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