web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / I need to convert from...
Power Automate
Unanswered

I need to convert from array, a string to float or integer, to be able to compare using an IF(Decision)

(1) ShareShare
ReportReport
Posted on by

danieltequia_1-1702572258027.png

 

 

Categories:
I have the same question (0)
  • v-yueyun-msft Profile Picture
    on at

    Hi , @danieltequia 

    You need to use the code in the "Expression":

    vyueyunmsft_0-1702603590394.png

    You can just use this code to test:
    int(items('Apply_to_each_2')?['Porcentaje'])

    float(items('Apply_to_each_2')?['Porcentaje'])

     

    Best Regards, 

    Yueyun Zhang

  • sandeepstw Profile Picture
    312 Moderator on at

    HI @danieltequia ,

     

    Use float(item()) or int(item()) in a loop to convert each array string to a float or integer, then use the converted value in your IF condition for comparison.

     

    Please give kudos and mark as solution if it helps.  

      

    Thanks, 

    Sandeep Mishra 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 291 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 238 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 109 Super User 2026 Season 1

Last 30 days Overall leaderboard