Math

Overview

Math

Execute math functions

Info

The math helper can be used for simple math operations. For more complex math operations, the Object helper can be used to call JavaScript functions.

Usage

Syntax:

{{math [value] [operator] [value] }}

Supported operators:

+, -, *, /, %

Example:

{{math '1' '+' '2'}}

Output:

3