Yet fixed the operators a bit

This commit is contained in:
Teascade 2017-08-26 00:43:37 +00:00
parent 45da02b438
commit 4ed6708e60

View File

@ -84,7 +84,7 @@ Operators are a number of individual and combined symbols which together form me
- Division-operator. Divides the first value with the second. - Division-operator. Divides the first value with the second.
- Examples: - Examples:
- `6 / 3` returns `2` - `6 / 3` returns `2`
- `2 / 3` returns `0.666..` - `2.0 / 3` returns `0.666..`
- `%` - `%`
- Modulo-operator. Retrns the remainder from the division of the first value by the second. - Modulo-operator. Retrns the remainder from the division of the first value by the second.
- Examples: - Examples:
@ -93,7 +93,7 @@ Operators are a number of individual and combined symbols which together form me
- `10 % 3` returns `1` - `10 % 3` returns `1`
- `++` - `++`
- Addition-operator. Special operator, which adds one to the value before it. - Addition-operator. Special operator, which adds one to the value before it.
Examples: - Examples:
- `1++` returns 2 - `1++` returns 2
- `2++` returns 3 - `2++` returns 3
- Some operators are listed under [Conditions](#conditions) - Some operators are listed under [Conditions](#conditions)