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.

Spec

mod(<dividend>, <divisor>)
ArgumentDefaultDescription
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.

---

Links

Math Functions