User Tools

Site Tools


manual:Calculations

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
manual:Calculations [2019/06/18 01:34]
peternlewis
manual:Calculations [2019/07/04 04:20]
peternlewis
Line 30: Line 30:
 | Arithmetic Operators\\   • Add (`+`)\\   • Subtract (`-`)\\   • Multiply (`*`)\\   • Divide (`/`) | A mathematical function that takes two operands and performs a calculation on them. | | Arithmetic Operators\\   • Add (`+`)\\   • Subtract (`-`)\\   • Multiply (`*`)\\   • Divide (`/`) | A mathematical function that takes two operands and performs a calculation on them. |
 | [Modulo](https://​en.wikipedia.org/​wiki/​Modulo_operation) (`i MOD n`) | The remainder of the division of `i` by `n`.\\ Both values (`i`, `n`) will be treated as integer.\\ `n` must not be 0.\\ the sign of the result is the same as the sign of i.  | | [Modulo](https://​en.wikipedia.org/​wiki/​Modulo_operation) (`i MOD n`) | The remainder of the division of `i` by `n`.\\ Both values (`i`, `n`) will be treated as integer.\\ `n` must not be 0.\\ the sign of the result is the same as the sign of i.  |
-| Integer division (`i DIV n`) | The integer quotient of the division of `i` by `n`.\\ Both values (`i`, `n`) will be treated as integer.\\ `n` must not be 0.\\ the sign of the result matches the sign of regular division. ​ |+| Integer division (`i DIV n`)  (v9.0+)| The integer quotient of the division of `i` by `n`.\\ Both values (`i`, `n`) will be treated as integer.\\ `n` must not be 0.\\ the sign of the result matches the sign of regular division. ​ |
 | Power Operator (`^`) | exponentiation. | | Power Operator (`^`) | exponentiation. |
 | Unary Prefix Operators (`√`, `-`, `( )` ) | square root, negation, sub-expressions. | | Unary Prefix Operators (`√`, `-`, `( )` ) | square root, negation, sub-expressions. |
Line 124: Line 124:
 </​code>​ </​code>​
  
---- 
- 
-**KeyWords:​** ​ MOD, Modulo 
manual/Calculations.txt · Last modified: 2023/10/02 00:38 by peternlewis