min: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:
[[Category:Scripting Commands ArmA|MIN]]
[[Category:Scripting Commands ArmA|MIN]]


{{Command|= Comments
____________________________________________________________________________________________


<h2 style="color:#000066">''a'' ''' min''' ''b''</h2>
| arma |= Game name


|2.92|= Game version
____________________________________________________________________________________________


'''Operand types:'''
| The smaller of a,b |= Description
____________________________________________________________________________________________


'''a:''' [[Number]]
| '''a''' |= Syntax


'''b:''' [[Number]]
|p1= a: [[Number]] |= Parameter 1


'''Type of returned value:'''
|p2= b: [[Number]] |= Parameter 2


[[Number]]
| [[Number]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>3 min 2 .... result is 2</pre> |= Example 1
____________________________________________________________________________________________


'''Compatibility:'''
|  |= See also


Version 2.92 required.
}}


'''Description:'''
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


The smaller of a,b
<!-- Note Section END -->
</dl>


'''Example:'''
<h3 style="display:none">Bottom Section</h3>
 
3 '''min''' 2 .... result is 2

Revision as of 00:40, 2 August 2006


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

Description

Description:
The smaller of a,b
Groups:
Uncategorised

Syntax

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

Examples

Example 1:
3 min 2 .... result is 2

Additional Information

See also:
See also needed

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