Arithmetic
The grammar supports arithmetic and mathematical operations:
Of course, variables or attributes from the schema can also be used within an arithmetic operation.
Let's look at the following scheme and two predefined variables:
Arithmetic expressions can be arbitrarily complex using parentheses:
Arithmetic expressions can also be used directly within a rule:
Reference
Currently the following mathematical operations are supported:
Operator | Name | Discription |
+ | Addition | simple addition |
- | Subtraction | simple subtraction |
* | Multiplication | simple multiplication |
/ | Division | simple division |
MOD | Modulo | remaining |
more will be added soon... |
Last updated