lt

Summary

Returns true if input is less than the first parameter.

Usage

$input_number|lt( value )

Parameters

NameTypeDescriptionRequired
value number Value to be compared with input. Yes.

Returns

Boolean.

Description

This operator compares the input and the first parameter. It returns true if the input value is less than the first parameter. Otherwise false is returned.

Examples

Example 1

{128|lt( 256 )}

returns true.

Example 2

{256|lt( 128 )}

returns false.

Example 3

{256|lt( 256 )}

returns false.

Comments

Contents

Reference

Database diagram
Template operators
    PDF
    Arrays
    Data extraction
    Formatting
    Images
    Logic
       and
       choose
       cond
       eq
       false
       first_set
       ge
       gt
       le
       lt
       ne
       not
       null
       or
       true
    Mathematics
    Miscellaneous
    Strings
    URLs
    Variables
Template functions
Data fetching
Modules
XML tags


Created

05/02/2004
11:42:03 am
by Balazs Halasy

Last updated

11/02/2004
12:56:29 pm
by Balazs Halasy

Authors

Balazs Halasy



This page is part of the Exponential documentation. The documentation is available under the GNU Free Documentation License. All contributions will be released under the terms of this license.