You are viewing the documentation for Blueriq 17. Documentation for other versions is available in our documentation directory.

LESS OR EQUAL (<=)


The operator '<=' compares two values and returns the boolean value TRUE if the left value is smaller than or equal to the right value and FALSE otherwise.


Syntax

 value1 <= value2


Inputs

  • value1 - Number, date or attribute of some type of number or date.

  • value2 - Number, date or attribute of some type of number or date.


Return type

  • boolean


Examples

ExpressionResultType
1 <= 2TRUEboolean
1.0 <= 1.0TRUEboolean
DATE( 2012 , 1 , 1 ) <= TODAYTRUEboolean
4000 <= YEAR( TODAY )FALSEboolean