Division

From CANNY Wiki
Jump to: navigation, search
Appearance
5 6 4 2.png
Symbol
X / Y
Group
Arithmetic operations
Inputs
ValueX: Integer
ValueY: Integer
Outputs
Result: Integer
Version CANNY Lab
from 1.8
Icon

Set output "Quotient" as the result of integer division of the input "Dividend" values to the input "Divider" value, the remainder of the division is set at the output of "Remainder"


Features[edit]

Exception: the quotient of any number divided by zero is the number 65535, with the balance also equal to 65535.

Prior to CANNY Lab version 1.8, the function block has been divided into two sections: the 'Divide' and the 'Remainder'.

Examples[edit]

Example 1
Example 2

See also[edit]

Addition

Subtraction

Multiplication

Built-in Function Blocks