TM1 Function for Rules, MOD

​MOD returns the remainder after a number is divided by a divisor. 

Where can the MOD function be used?

Rules and TurboIntegrator

What is the MOD function?

​MOD returns the remainder after a number is divided by a divisor. 

What is the syntax for MOD?

MOD(number, divisor)​
Number = The number for which we want to find the remainder. ​
Divisor = The number by which the argument is divided. 

A demonstration on how to use MOD

Use MOD function to calculate the remainder and apply it in the rule to populate the Amount measure in the Product Scorecard cube.