a
and b
, and outputs the result as an integer.
a
(integer): The dividend, or the number being divided. Default value is 0.b
(integer): The divisor, or the number to divide by. Default value is 0.result
(integer): The result of the integer division operation.a
and b
input ports. These can be hardcoded values or outputs from other nodes.a
divided by b
, rounded down to the nearest integer, on the result
output port.result
output to the input of another node or use it as the final output of your spell.a
input and the items per box node to the b
input of the Integer Divide node.b
input is not zero, as division by zero is undefined and will result in an error. You can use a Conditional node to check for this case and handle it appropriately.b
input is not zero, as this will cause the node to output zero regardless of the value of a
.