a less= b: Difference between revisions
No edit summary |
mNo edit summary |
||
Line 25: | Line 25: | ||
'''Example:''' | '''Example:''' | ||
[[if]] ([[fuel]] truck1 '''<=''' 0) [[then]] {[[hint]] "Truck1 has no fuel left."} |
No edit summary |
mNo edit summary |
||
Line 25: | Line 25: | ||
'''Example:''' | '''Example:''' | ||
[[if]] ([[fuel]] truck1 '''<=''' 0) [[then]] {[[hint]] "Truck1 has no fuel left."} |
Operand types:
a: Number
b: Number
Type of returned value:
Description:
a less than or equal to b
Example:
if (fuel truck1 <= 0) then {hint "Truck1 has no fuel left."}