This documentation is out of date.

The new version of the documentation is here: https://cannylogic.com/docs

Subtraction

From CANNY Wiki
Revision as of 06:20, 23 November 2015 by MEGA (Talk | contribs) (Created page with " <div style="float:right;margin:5px;"> {|class="cannytable" width="350px" |- !colspan="2" style="background-color:#AFEEEE;"|Appearance |- |colspan="2" align="center" style="...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Jump to: navigation, search
Appearance
Изображение:5_5_2_2.png
Symbol
X - Y
Group
Arithmetic operations
Inputs
ValueX: Numeric
ValueY: Numeric
Outputs
Result: Numeric
Version CANNY Lab
from 0.6b

left|Иконка

Set the output result as the arithmetic subtracting the numerical value of the second output from the first.


Features

16-bit subtraction, with overflow (modulo 65535). In other words, the result of subtraction can be negative number, in case of 2nd input value more then 1st input value, the result will be the expression: X - Y + 65536.

Examples

thumb|Пример 1 thumb|Пример 2

See also

Addition

Multiplication

Division

Built-in Function Blocks