This documentation is out of date.
The new version of the documentation is here: https://cannylogic.com/docs |
Difference between revisions of "Division"
From CANNY Wiki
[unchecked revision] | [unchecked revision] |
Line 33: | Line 33: | ||
|colspan="2" align="center"|from 1.8 | |colspan="2" align="center"|from 1.8 | ||
|} | |} | ||
+ | </div> | ||
+ | |||
+ | <div style="min-height:100%;display:block;"> | ||
+ | <div style="float:left;width:70px;"> | ||
+ | [[File:5_6_4_1.png|left|Icon]] | ||
</div> | </div> | ||
Revision as of 10:09, 23 November 2015
Appearance | |
---|---|
Symbol | |
X / Y | |
Group | |
Arithmetic operations | |
Inputs | |
ValueX: | Integer |
ValueY: | Integer |
Outputs | |
Result: | Integer |
Version CANNY Lab | |
from 1.8 |
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
Exception: the quotient of any number divided by zero is the number 65535, with the balance equal to 65535 also.
Prior to CANNY Lab version 1.8, the function block has been divided into two sections: the 'Divide' and the 'Remainder'.