Basic Comparisons


In EL the following comparison operators are supported:
Numeric
EL Expression Result
\${5 < 7} ${5 < 7}
\${5 lt 7} ${5 lt 7}
\${4 > (6/2)} ${4 > (6/2)}
\${4 > (6/2)} ${4 > (6/2)}
\${6.0 >= 3} ${6.0 >= 3}
\${6.0 ge 3} ${6.0 ge 3}
\${4 <= 3} ${4 <= 3}
\${4 le 3} ${4 le 3}
\${2.0 == 2} ${2.0 == 2}
\${2.0 eq 2} ${2.0 eq 2}
\${(10*10) != 100} ${(10*10) != 100}
\${(10*10) ne 100} ${(10*10) ne 100}