a greater= b: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|#]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|#]]
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46|#]]
 
[[Category:Scripting Commands ArmA|#]]
| ofp |= Game name


|1.00|= Game version
____________________________________________________________________________________________


<h2 style="color:#000066">''' ''a'' >= ''b'' '''</h2>
| a greater or equal b |= Description
____________________________________________________________________________________________


| a '''>=''' b |= Syntax


'''Operand types:'''
|p1= a: [[Number]] |=


'''a:''' [[Number]]
|p2= b: [[Number]] |=


'''b:''' [[Number]]
| [[Boolean]] |= Return value
____________________________________________________________________________________________


'''Type of returned value:'''
|x1 = <pre>if (fuel truck1 >= 0.5) then {hint "Truck1 has at least half a tank of fuel left."}</pre> |=
____________________________________________________________________________________________


[[Boolean]]
|  |= See also


'''Description:'''
}}


a '''greater than or equal to''' b
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
</dl>


'''Example:'''
<h3 style="display:none">Bottom Section</h3>


[[if]] ([[fuel]] truck1 '''>=''' 0.5) [[then]] {[[hint]] "Truck1 has at least half a tank of fuel left."}
[[Category:Scripting Commands|#]]
[[Category:Scripting Commands OFP 1.96|#]]
[[Category:Scripting Commands OFP 1.46|#]]
[[Category:Scripting Commands ArmA|#]]

Revision as of 21:39, 1 August 2006

Hover & click on the images for description

Description

Description:
a greater or equal b
Groups:
Uncategorised

Syntax

Syntax:
Boolean
Parameters:
a: Number
b: Number
Return Value:
Return value needed

Examples

Example 1:
if (fuel truck1 >= 0.5) then {hint "Truck1 has at least half a tank of fuel left."}

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