a greater= b: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 25: Line 25:
'''Example:'''
'''Example:'''


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

Revision as of 16:58, 21 May 2006


a >= b


Operand types:

a: Number

b: Number

Type of returned value:

Boolean

Description:

a greater than or equal to b


Example:

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