In this Power Automate Tutorial, we will discuss what is Power Automate Initialize Float Variable and how to Initialize Float Variable in Power Automate with a few examples.
Also, Read: How to Initialize Object Variable in Power Automate
What is Initialize Float Variable in Power Automate
There are numerous types of initialized variables in Power Automate. In this case, one of them is the Power Automate Float variable.
When we initialize a variable with float variable type, it accepts the double-precision floating-point numbers values. Examples of floats value are 1.243 and 92.345.
In the following example, we will see how we can initialize the Float variable using Power Automate.
Check out: How to Initialize Integer Variable in Power Automate
How to Initialize Float Variable in Power Automate
Here we will see how to Initialize Float Variable in Power Automate.
Example:
In this example, we will manually enter the float value while initializing the variable and displaying the output value in compose action.
- Create a Power Automate instant cloud flow, enter the flow name (Power Automate Initialize Variable float), and choose the trigger as Manually trigger a flow.
- Click on the Create option as highlighted below:

- Initially, we will initialize a variable with Name (VarFloat), and then we will choose the Type as the Float, and insert a Value with decimal places (78.235).

- Then we will add a Compose action to get the result value as the float from the initialized variable.

- In the below screenshot, in the compose action we can see the initialized float value.

This is how to Initialize Variable with float data type on Power Automate.
Also, have a look: Conditionally Update SharePoint list items using Power Automate
Example: 2
In the example, we will pass the float value dynamically and then we will display the output value in compose action.
- Select the created Power Automate flow, and Expand the Manually trigger a flow.
- Choose the type of user input by selecting +Add an input and select the Number variable type.

- Now add the +new step and select the initialized variable to enter the variable name and choose the variable type as Float and in the value section pass the dynamic value.
- Here in this example, I have passed the Float Value dynamically.

- Now we will add the Compose action to see the output value from the initialized variable. Click on the Save button to save the Power Automate flow:

- Select the Test-> Manually test-> Run flow as below:

- The Screenshot below displays the expected output value in the compose action as highlighted:

This is another example to initialize the Float Variable in Power Automate.
Furthermore, you may like some more Power Automate and SharePoint tutorials:
- What is Initialize Variable in Power Automate
- How to Initialize Boolean Variable in Power Automate
- Co-authoring documents in SharePoint Online
- Power Automate Get Display Name From Email
- How to Use People Web Part in SharePoint Online
In this Power Automate Tutorial, we have discussed what is Initialize Float Variable type and how to Initialize Float Variable in Power Automate with a few examples.
Bijay Kumar Sahoo is a highly accomplished professional with over 15 years of experience in the field of SharePoint and related technologies. He has been recognized as a Microsoft MVP (Most Valuable Professional) more than 9 times, starting from April 2014, for his exceptional contributions to the SharePoint community. Bijay is also a prolific author, having written two books on SharePoint – “Microsoft Power Platform – A Deep Dive” and “SharePoint Online Modern Experience Practical Guide“. His deep insights into SharePoint are also shared on his popular YouTube channel EnjoySharePoint where he teaches SharePoint to a global audience (From various countries like the United States of America, Canada, the United Kingdom, Australia, New Zealand, etc). Read more…