The Div node takes in 2 inputs and returns the calculated result. The second input (B
) will divide the first input (A
) into sub sections (mathematically speaking), and the result will show how many of our first value will fit into the second value.
Division is non-commutative (known as Anticommutative), which means where you put your inputs matters.
Inputs
A (Pseudo-Generic)
The value we have.
B (Pseudo-Generic)
The value we want to divide from (basically, how many times to cut our first value into to fit these many sub sections).
Outputs
* (Pseudo-Generic)
The new result from this operation.
Further Reading
Magic Numbers For Division
At a low level, computers use a special number to do multiplication for their division operations, known as a magic number. Each processor is different and may have a different number for calculations, but the video below should explain this concept a bit better.