min: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " " to " ")
m (Text replacement - " \| *s([0-9]) *= ([^ ]+)? ?'''([a-zA-Z0-9_]+)''' ?([^ ]+)? " to " |s$1= $2 $3 $4 ")
Line 24: Line 24:
|descr= The smaller of a and b.
|descr= The smaller of a and b.


|s1= a '''min''' b
|s1= a [[min]]  b


|p1= a: [[Number]]
|p1= a: [[Number]]

Revision as of 17:41, 12 June 2021

Hover & click on the images for description

Description

Description:
The smaller of a and 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
Example 2:
-3 min -2 // Result is -3

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