Math Operators: Difference between revisions
From Lucca's Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Operat Name Example | |||
+ Addition x + y | + Addition x + y | ||
- Subtraction x - y | - Subtraction x - y | ||
* Multiplication x * y | * Multiplication x * y | ||
/ Division x / y | / Division x / y | ||
% Modulus x % y | % Modulus x % y (this is the remainder after dividing the two numbers) | ||
** Exponentiation x ** y | ** Exponentiation x ** y | ||
// Floor division x // y | // Floor division x // y |
Latest revision as of 01:41, 22 August 2025
Operat Name Example
+ Addition x + y - Subtraction x - y * Multiplication x * y / Division x / y % Modulus x % y (this is the remainder after dividing the two numbers) ** Exponentiation x ** y // Floor division x // y