max: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (See also)
m (template:command argument fix)
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| 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=


|p1= a: [[Number]] |= Parameter 1
|p1= a: [[Number]] |PARAMETER1=
|p2= b: [[Number]] |= Parameter 2
|p2= b: [[Number]] |PARAMETER2=


| [[Number]] |= Return value
| [[Number]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>3 '''max''' 2</code>
|x1= <code>3 '''max''' 2</code>


Result is 3 |= Example 1
Result is 3 |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[min]], [[selectMin]], [[selectMax]], [[ceil]], [[floor]], [[linearConversion]], [[Math Commands]] |= See also
| [[min]], [[selectMin]], [[selectMax]], [[ceil]], [[floor]], [[linearConversion]], [[Math Commands]] |SEEALSO=


}}
}}

Revision as of 14:43, 7 April 2019


-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
The greater of a,b
Groups:
Uncategorised

Syntax

Syntax:
Number = a max b
Parameters:
a: Number
b: Number
Return Value:
Number

Examples

Example 1:
3 max 2 Result is 3

Additional Information

See also:
minselectMinselectMaxceilfloorlinearConversionMath 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

Notes

Bottom Section