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

Announcements

News and Announcements icon
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
    Microsoft Employee 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 227

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard