max: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " " to " ") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(10 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
|game1= arma1 | |game1= arma1 | ||
|version1= 1.00 | |version1= 1.00 | ||
|game2= arma2 | |game2= arma2 | ||
|version2= 1.00 | |version2= 1.00 | ||
|game3= arma2oa | |game3= arma2oa | ||
|version3= 1.50 | |version3= 1.50 | ||
|game4= tkoh | |game4= tkoh | ||
|version4= 1.00 | |version4= 1.00 | ||
|game5= arma3 | |game5= arma3 | ||
|version5= 0.50 | |version5= 0.50 | ||
Line 25: | Line 20: | ||
|descr= The greater value of a and b. | |descr= The greater value of a and b. | ||
|s1= a | |s1= a [[max]] b | ||
|p1= a: [[Number]] | |p1= a: [[Number]] | ||
Line 33: | Line 28: | ||
|r1= [[Number]] | |r1= [[Number]] | ||
|x1= < | |x1= <sqf>3 max 2; // Result is 3</sqf> | ||
|x2= < | |x2= <sqf>-3 max -2; // Result is -2</sqf> | ||
|seealso= [[min]] | |seealso= [[min]] [[selectMin]] [[selectMax]] [[ceil]] [[floor]] [[linearConversion]] [[Math Commands]] | ||
}} | }} |
Latest revision as of 16:20, 13 May 2022
Description
- Description:
- The greater value of a and b.
- Groups:
- Math
Syntax
Examples
- Example 1:
- 3 max 2; // Result is 3
- Example 2:
- -3 max -2; // Result is -2
Additional Information
- See also:
- min 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