Divides the first input number by the second input number.

Divide
Divide.png
TypeScript block
ColliderNone
FolderMath
Ports
Inputs Num1
Num2
Outputs Num1 / Num2
Example
Example

Notes

If the denominator (Num2) is 0 the result returns inf, the sign determined by the numerator. However, if both are 0 then the result returns nan.

Related