a greater b: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "[[Category:Scripting Commands ArmA|" to "[[Category:Scripting Commands Armed Assault|")
mNo edit summary
Line 5: Line 5:


|1.00|Game version=
|1.00|Game version=
|gr1= Math |=GROUP1
|gr2= Variables |=GROUP2
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 41: Line 44:
[[Category:Scripting Commands Arma 2|#]]
[[Category:Scripting Commands Arma 2|#]]
[[Category:Scripting Commands Arma 3|#]]
[[Category:Scripting Commands Arma 3|#]]
[[Category:Command_Group:_Math|#]]
[[Category:Command_Group:_Variables|#]]

Revision as of 10:43, 17 September 2020

Hover & click on the images for description

Description

Description:
Returns true if a is greater than b, else returns false.
Groups:
MathVariables

Syntax

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

Examples

Example 1:
if (fuel truck1 > 0) then { hint "Truck1 has some fuel left."; };

Additional Information

See also:
Operators

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