ez.no / exponential / documentation / reference / template operators / logic / le
$input_number|le( value )
| Name | Type | Description | Required |
|---|---|---|---|
| value | number | Value to be compared with input. | Yes. |
Boolean.
This operator compares the input and the first parameter. The operator returnes true if the value of the input is less than or if it equals the value of the first parameter. Otherwise false is returned.
Example 1
{128|le( 256 )}
returns true.
Example 2
{256|le( 128 )}
returns false.
Example 2
{256|le( 256 )}
returns true.
Comments