mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-12-20 20:01:17 +00:00
[wiki] Add documentation for mod
function
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
39a17560a0
commit
847e119e5d
1 changed files with 13 additions and 0 deletions
|
@ -212,6 +212,19 @@ Example:
|
||||||
< Last Quote: #32
|
< Last Quote: #32
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### `mod`
|
||||||
|
|
||||||
|
Returns int from calculation: `int1 % int2`
|
||||||
|
|
||||||
|
Syntax: `mod <int1> <int2>`
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
# {{ mod 12 10 }}
|
||||||
|
< 2
|
||||||
|
```
|
||||||
|
|
||||||
#### `mul` (deprecated: `multiply`)
|
#### `mul` (deprecated: `multiply`)
|
||||||
|
|
||||||
Returns float from calculation: `float1 * float2`
|
Returns float from calculation: `float1 * float2`
|
||||||
|
|
Loading…
Reference in a new issue