Prev |  | Next

### 1.4.3. Data types

The template language supports four data types to use in statements:

- Integers
- Strings
- PHP Constants
- Template variables

#### 1.4.3.1. Integers

Integers are formatted as a sequence of numbers.

Example 1.3. Integer values

    403
    90
    4231

Here is an example of template code in which integers are used:

Example 1.4. Code using integer values

    {VAR INTEGERVAR 1000}
    The variable INTEGERVAR is {INTEGERVAR}.

    {IF INTEGERVAR 333}
      The INTEGERVAR has the value 333.
    {/IF}

Prev | Up | Next
| Home |