Table of Contents

MOD Box Function

Modulo

Category: Arithmetic Box Functions

Behavior

Divides the first value by the second and stores the remainder.

Syntax and Arguments

Syntax: MOD D0 D1 D2

Behavior Example

Run condition Before Command entered Expected result
Left condition ON D0=12, D1=5 MOD D0 D1 D2 D2=2

Inputs and results for Arithmetic Box Functions

Cautions

Box Functions in the Same Category