sub. Math Function.(Power Automate Cloud flows)

Japanese version.

Subtracts two specified numbers: the first number minus the second number.

Spec

sub(<minuend>, <subtrahend>)
ArgumentDefaultDescription
minuendRequired fieldSource value.
subtrahendRequired fieldSubtract value.

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, sub, and the function name and () will be set in the formula field.

The first argument is the original value and the second is the value to be subtracted.

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, sub(25,2.5) will result in 19.5.

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

Math Functions