Mod Block

The Mod Block divides the first input by the second input and returns only the remainder.

Note Dividing by zero will output NaN (Not A Number), which is not a valid input to other blocks.

Examples With and without remainders

Block settings

To change default block settings, double-click the block to open the Block Editor.

Setting Description
Name Name to display beneath the block on the ADL canvas
BodyColor Background color of the block
Description Optional text to explain how the block is used