ge

Summary

Returns true if input is greater than or equal to the first parameter.

Usage

$input_number|ge( value )

Parameters

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

Returns

Boolean.

Description

This operator compares the input and the first parameter. The operator returnes true if the value of the input is greater than or equals the value of the first parameter. Otherwise false is returned.

Examples

Example 1

{256|ge( 128 )}

returns true.

Example 2

{128|ge( 256 )}

returns false.

Example 3

{256|ge( 256 )}

returns true.

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:40:46 am
by Balazs Halasy

Last updated

11/02/2004
12:58:05 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.