How to divide.(Power Automate Cloud flows)

03/10/2024

Japanese version.

This section shows how to obtain normal division (get in a small number) and quotient and remainder.

Steps

All samples are expressions with fixed values.

If you wish to use variables or dynamic content, see also.

Normal division (get in a small number).

This is done with the div function of the expression.

If either argument of the div function is specified as a Float-type variable or a fixed-valued small number, the result will be a small number.

For example, the expression "5 divided by 2" is specified as follows.

div(5,2.0)

Integer part (quotient)

This is done with the div function of the expression.

If either argument of the div function is specified as an Integer-type variable or a fixed-valued integer, the result will be a integer.

For example, the expression "5 divided by 2" is specified as follows.

div(5,2)

The result will be an integer even if set to a Float-type variable.

Small part (remainder)

This is done with the mod function of the expression.

The argument can be either a small number or an integer.

For example, the remainder of "5 divided by 2" is specified in the expression as follows.

mod(5,2.0)

For those who want to learn Power Automate Cloud flow effectively

The information on this site is now available in an easy-to-read e-book format.

Or Kindle Unlimited (unlimited reading).

You willl discover how to about basic operations.

By the end of this book, you will be equipped with the knowledge you need to use Power Automate Cloud flow to streamline your workflow.

Links

Introduction(Power Automate Cloud flows)