min: 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 smaller of a,b |= Description
| The smaller of a,b |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| a '''min''' b |= Syntax
| a '''min''' 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= <br><code>3 '''min''' 2</code>
|x1= <br><code>3 '''min''' 2</code>
Result is 2 |= Example 1
Result is 2 |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[max]], [[selectMin]], [[selectMax]], [[ceil]], [[floor]], [[linearConversion]], [[Math Commands]] |= See also
| [[max]], [[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 smaller of a,b
Groups:
Uncategorised

Syntax

Syntax:
a min b
Parameters:
a: Number
b: Number
Return Value:
Number

Examples

Example 1:

3 min 2 Result is 2

Additional Information

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