Convert String to Number using Power Automate
Implementation Steps:
1. Navigate to https://flow.microsoft.com
2. Click My Flows --> Click New Flow --> Select Instant Cloud Flow (You can select based on your needs)
3. Input Flow Name and Select PowerApps as Trigger
4. Click Create
5. Click Add Step --> Search for Variables --> Select Initialize Variable --> Input Name and Select Type as String and Value as "10"
6. Then Again Click Add Step and Select Initialize Variable Again and Input Name and Select Type as Integer
7. Write below Expression to Convert string to Integer
int(variables('STRING Values'))
8. Click Save --> Click Test (at the Top Right)
9. Select Manually --> Click Test --> Click Run Flow --> Then Click Done
10. That's it 🙂
Comments
-
Convert String to Number using Power Automate
The "accepted" solution does not work. Not sure if it did when posted or not but it does not work now. just get this error:
The variable 'TCV' of type 'Integer' cannot be initialized or updated with value of type 'String'. The variable 'TCV' only supports values of types 'Integer'.
-
Convert String to Number using Power Automate
Love the way you can either like or like this incorrect solution!
*This post is locked for comments