Skip to content

LessThanOrEqual

aggregating category: comparison no `||`

Returns TRUE when each parameter is less than or equal to the next.

Each value preceding another must be less than or equal to the next for the rule to produce a TRUE result. At least two parameters must be given.

Parameters

Nvalues Mandatory — accepts: field, DATE, FLOAT, INT, STRING

The Nth value to compare against the next. May be a static value or a field reference.

Input type

  • DATE
  • FLOAT
  • INT
  • STRING

Output type

  • BOOLEAN

Requires

  • All values must have the same type.
  • Two or more parameters must be given to the rule.

Examples

Three values

LessThanOrEqual(:float1, :float2, 0.1)

Static followed by field

LessThanOrEqual(12, :int)

See also

LessThan, GreaterThan, GreaterThanOrEqual, Equal, NotEqual