Instructions/Divide

From Desynced Wiki


Divide
     
     Divides a number or coordinate from another number or coordinate
Lua ID div
Category Math
Icon Divide Numbers.png
Argument One: Type Input
Argument One: Name From
Argument One: Data Type coord_num
Argument Two: Type Input
Argument Two: Name Num
Argument Two: Data Type coord_num
Argument Three: Type Output
Argument Three: Name Result



Description[edit | edit source]

Divides the top input by the bottom input.

Uses[edit | edit source]

Used for division of numbers OR coordinates.

When dividing numbers with accompanying values, the top input value is preserved unless the bottom input value contains a coordinate in which case the top value will be overwritten by the coordinate into the output.

Similar Instructions[edit | edit source]

Set Number, Subtract, Add, Multiply