<=

Check if one value is smaller than or equal to another.

Parameter List

Syntax
<=(value1value2)
value1

The value to be compared against value2. For example: 3.

value2

The value to be compared against value1. For example: 23.

More details

Equivalent to the LTE() function.

For string parameters, the comparison follows a lexicographical ordering. That is each character, ordered 0 to 9 and then A to Z, in the string is given a value. Character pairs are then evaluated against each other until one character is smaller than another.

Examples

<=(1, 4) returns TRUE