= | [toevaluate]  |
|

 | you may use the following operators:
+ | sum of x and y (x+y) |
- | substract y from x (x-y) |
* | product of x and y (x*y) |
/ | dividend of x and y (x/y) |
\ | rounded dividend of x and y (x\y) |
^ | exponential expression (x^y) |
$ | melt two strings |
|

 | operations will be resolved from left to right |

 | you may use ()-brackets to encapsule operations (will be resolved from inside to outside) |

 | do not put any additional/unneeded spaces between operators, values and ()-brackets |

 | make sure that string prefixes and suffixes are added width "$"-operator after calculations are completed (e.g. CHF $(6+2) = CHF 8) or keep them outside of this token |
|
|| |
convert=[lowercase|uppercase|upperfirst]
|
|
convert result string
|
|| |
encode=[url|html|html-chars|crypt]
|
|
encode result of evaluation to another format
|
|| |
trim=[left|right|both]
|
|
remove whitespaces from result of evaluation
|
|| |
convert_section=[lowercase|uppercase|upperfirst]
|
|
convert section data (for use with closing token only)
|
|| |
parse_section=[yes|no]
|
|
parse section data for mpf-tokens (for use with closing token only)
|
|| |
encode_section=[url|html|html-chars|crypt]
|
|
encode section data to another format (for use with closing token only)
|
|| |
trim_section=[left|right|both]
|
|
remove whitespaces from section data (for use with closing token only)
|
|| |
[opr][condition]
|
|
condition may be used to check result of evaluation
|