mod. Math Function.(Power Automate Cloud flows)

Japanese version.

Get two specified remainders: the remainder obtained by dividing the first number by the second number.


mod(<dividend>, <divisor>)
dividendRequired fieldNumerator.
divisorRequired fieldDenominator

How to use

In most cases, it is used in the "Value" when "Initialize variable" or "Set variable" of type "Integer" or "Float".

Click on the "Expressions" tab, mod, and the function name and () will be set in the formula field.

The first argument is the numerator and the second is the denominator.

If you want to use dynamic contents or variables, specify them specially.

(How to get dynamic content with an expression)

If you see something like the following, your settings are complete.

Click on the purple icon to change the function.

As an example, mod(5,2) will result in 1.



Math Functions