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 / Leadings 0's in a powe...
Power Automate
Unanswered

Leadings 0's in a power automate flow

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello,

 

I have a sharepoint list that is connected to my power automate as well as a microsoft form. So when someone fills out the form, the data is logged into sharepoint and then I get an email. But when I get an email, I have a ton of 0's after my numbers. Not sure how to fix it. 

 

I already have a compose in my power automate because in my columns, when someone choose a license type, that needs to display the cost of the specific lisense type. So I'm not sure how to put int() into it? 

luveevee618_0-1636995031154.png

I followed a Youtube video and this is the code I'm currently using : 

replace(replace(replace(outputs('Get_response_details')?['body/re84feff3e1534461bb9bfaea74b662c2'],'[',''),']',''),'"','')
Categories:
I have the same question (0)
  • ScottShearer Profile Picture
    25,290 Most Valuable Professional on at

    @Anonymous 

    Try using int() or float()  See my example below.

    image.pngimage.png

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    would I put int() separately from that first compose I already have? because in my sharepoint, it's already a calculated column where it says, if the user picks "standard" then display "100" and that first compose forumla I have, is giving me back the "standard" perfectly fine, but the number is coming back as like 100.00000 

  • ScottShearer Profile Picture
    25,290 Most Valuable Professional on at

    @Anonymous 

    Enclose the expression that you already have that spits out all the zeros in the int() expression.

    If you still have issues, post a screen shot of the expression that generates the zeros.

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    so this is my calculation in my sharepoint: 

    luveevee618_0-1636997817394.png

     

    and the formula I have in my flow, is connected with my microsoft form, I followed from this video here : https://www.youtube.com/watch?v=l82nVlGwrio

     

    so I don't know if I just can't get it to show as 100 and not 100.0000 because I already have that compose in my flow already? 

    luveevee618_1-1636997965631.png

     

    luveevee618_2-1636997987780.png

    that is saying : 

    replace(replace(replace(outputs('Get_response_details')?['body/re84feff3e1534461bb9bfaea74b662c2'],'[',''),']',''),'"','')
  • ScottShearer Profile Picture
    25,290 Most Valuable Professional on at

    @Anonymous 

    Try this in your compose action:

    int(outputs('Get_response_details')?['body/re84feff3e1534461bb9bfaea74b662c2'])

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    i did a compose 2 and copied and pasted it in, but it didn't work...  Maybe it isn't possible for mine since I'm essentially having to do that replacement formula 

    luveevee618_0-1636998955233.png

     

  • ScottShearer Profile Picture
    25,290 Most Valuable Professional on at

    @Anonymous 

    Copy/paste from this board directly into Power Automate frequently does not work for a number of reasons.

    Try this:

    1. Add a compose action
    2. Click on Expression
    3. In the expression window, enter int()
    4. Place you cursor inside of the parens i.e. ()
    5. Select/click on the value that you want from Dynamic properties
    6. Click on Update to save the expression

     

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard