max: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\{\{cc\|([^ ]*)\}\}([^ ]*)<\/code>" to "<code>$1// $2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
||
Line 28: | 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]] [[selectMin]] [[selectMax]] [[ceil]] [[floor]] [[linearConversion]] [[Math Commands]] | |seealso= [[min]] [[selectMin]] [[selectMax]] [[ceil]] [[floor]] [[linearConversion]] [[Math Commands]] | ||
}} | }} |
Revision as of 10:24, 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