Division operator (/)
Value1
The number to be divided (the dividend).
Value2
The number that the first number should be divided with.
Returns
The decimal quotient resulting from dividing a number by another number.
Divides one number by another and returns the result. 12 / 412 / 4 returns 3.
This operator also works with arrays. { 10, 5 } / 2{ 10; 5 } / 2 returns the array { 5, 2.5 }{ 5; 2,5 } (equivalent to { 10 / 2, 5 / 2 }{ 10 / 2; 5 / 2 }) and { 10, 5 } / { 5, 2 }{ 10; 5 } / { 5; 2 } returns the array { 2, 2.5 }{ 2; 2,5 } (equivalent to { 10 / 5, 5 / 2 }{ 10 / 5; 5 / 2 }).
Related functions
Use QUOTIENT instead to get an integer result— 5 / 25 / 2 returns 2.5, but QUOTIENT(5, 2)QUOTIENT(5; 2) returns 2.
Use MOD to get the integer remainder— MOD(5, 2)MOD(5; 2) returns 1.
Examples
Returns 3.
Returns 2.5.
Returns the array { 5, 2.5 }{ 5; 2,5 }, equivalent to { 10 / 2, 5 / 2 }{ 10 / 2; 5 / 2 }.
Returns the array { 2, 2.5 }{ 2; 2,5 }, equivalent to { 10 / 5, 5 / 2 }{ 10 / 5; 5 / 2 }.