Math Operators: Difference between revisions

From Lucca's Wiki
Jump to navigationJump to search
Created page with "Operator Name Example + Addition x + y - Subtraction x - y * Multiplication x * y / Division x / y % Modulus x % y ** Exponentiation x ** y // Floor division x // y"
 
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
Operator Name Example
Operat  Name     Example
+ Addition x + y
 
- Subtraction x - y
+ Addition x + y
* Multiplication x * y
- Subtraction x - y
/ Division x / y
* Multiplication x * y
% Modulus x % y
/ Division x / y
** Exponentiation x ** y
% Modulus x % y (this is the remainder after dividing the two numbers)
// Floor division x // y
** Exponentiation 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