You have been redirected from an outdated version of the article. Below is the content available on this topic. To view the old article click here.

lte()

Usage

lte(val1, val2)

Description
Returns a boolean value that indicates whether the numerical value val1 is smaller or equal than the numerical value val2. This method tries to convert its parameter objects into numerical values, i.e. you can compare strings numerically.

Example

${lte(2, 2)}

results in

true

Search results for "lte()"

lte()

Returns a boolean value that indicates whether the numerical value val1 is smaller or equal than the numerical value val2. This method tries to convert its parameter objects into numerical values, i.e. you can compare strings numerically.

lte(val1, val2)