min: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\: ?Command[ _]Group\:.*\|\{\{uc\:\{\{PAGENAME\}\}\}\}\]\] " to "")
m (Add group)
Line 1: Line 1:
[[Category:Scripting Commands|MIN]]
[[Category:Scripting Commands Armed Assault|MIN]]
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________
____________________________________________________________________________________________
Line 7: Line 5:


|1.00|Game version=
|1.00|Game version=
|gr1= Math |GROUP1=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 21: Line 21:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <br><code>3 '''min''' 2</code>
|x1= <code>3 '''min''' 2 {{cc|Result is 2}}</code> |EXAMPLE1=
Result is 2 |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 13:21, 25 September 2020

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

Description

Description:
The smaller of a,b
Groups:
Math

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