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.

gte()

Usage

gte(val1, val2)

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

Example

${gte(2, 3)}

results in

false

Search results for "gte()"

gte()

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

gte(val1, val2)