max: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 2: | Line 2: | ||
{{GameCategory|arma1|Scripting Commands}} | {{GameCategory|arma1|Scripting Commands}} | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma1 |Game name= | | arma1 |Game name= | ||
Line 9: | Line 8: | ||
|gr1= Math |GROUP1= | |gr1= Math |GROUP1= | ||
| The greater of a,b |DESCRIPTION= | | The greater of a,b |DESCRIPTION= | ||
| [[Number]] <nowiki>=</nowiki> a '''max''' b |SYNTAX= | | [[Number]] <nowiki>=</nowiki> a '''max''' b |SYNTAX= | ||
Line 20: | Line 17: | ||
| [[Number]] |RETURNVALUE= | | [[Number]] |RETURNVALUE= | ||
|x1= <code>3 '''max''' 2</code> | |x1= <code>3 '''max''' 2</code> | ||
Result is 3 |EXAMPLE1= | Result is 3 |EXAMPLE1= | ||
| [[min]], [[selectMin]], [[selectMax]], [[ceil]], [[floor]], [[linearConversion]], [[Math Commands]] |SEEALSO= | | [[min]], [[selectMin]], [[selectMax]], [[ceil]], [[floor]], [[linearConversion]], [[Math Commands]] |SEEALSO= |
Revision as of 01:51, 17 January 2021
Description
- Description:
- The greater of a,b
- Groups:
- Math
Syntax
Examples
- Example 1:
3 max 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