[wiki] Add documentation for mod function

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2022-07-15 21:06:32 +02:00
parent 39a17560a0
commit 847e119e5d
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

View file

@ -212,6 +212,19 @@ Example:
< Last Quote: #32
```
#### `mod`
Returns int from calculation: `int1 % int2`
Syntax: `mod <int1> <int2>`
Example:
```
# {{ mod 12 10 }}
< 2
```
#### `mul` (deprecated: `multiply`)
Returns float from calculation: `float1 * float2`