Skip to content

Comparison greater than

Description

Clicking this option inserts the ">" operator in the formula at the current cursor position. With this operator, you can compare two operands (numbers or strings) with each other, where the result is true when the value of the left operand is greater than the value of the right operand.

Sample

if ({Customer.CurrentSpeed} > {Road.MaxSpeed}) then
    return 'You get a ticket'
else
    return 'Pass'
end