ReferenceScript nodesMath › Integer
Divide
A over b without what's after the point, towards 0 (-7 / 2 is -3); 0 when B is 0.
ƒDivide
A7Result
B2
Inputs
| Pin | Type | Starts at | Notes |
|---|---|---|---|
Aa | int | 7 | – |
Bb | int | 2 | – |
Outputs
| Pin | Type |
|---|---|
Resultout | int |
In a graph
◆On Scene Start
ƒDivide
A7Result
B2
ƒPrint
In Text
The node with what starts it and Print to show what it gives, as Studio draws them.
Related
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.