float function. Conversion.(Power Automate Cloud flows)

03/11/2024

Japanese version.

Converts text with only numbers and decimal points to Float type data.

It is frequently used when a file is imported from some application.

Spec

float('<value>')
ArgumentDefaultDescription
valueRequired fieldText to convert.

How to use

In most cases, it is used in the "value" when initializing or setting variables of type "Float".

Click on the "Expression" tab, float, and the function name and () will be set in the expression field.

The text to be converted is specified as an argument, enclosed in '.

When dynamic content or variables are used in expressions, special specifications are required.

(How to get dynamic content with expressions.)

Click on the button, and if the display looks like the following, the setting is complete.

You can change the function by clicking this purple icon.

For example, float('123.456') will convert to Float's 123.456.

---

Links

Conversion Functions(Power Automate Cloud flows)

Examples of Use

How to get the count, sum, average, maximum, and minimum of numbers in an array.