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 Apps / Missing zero from decimal
Power Apps
Unanswered

Missing zero from decimal

(0) ShareShare
ReportReport
Posted on by 196

Hello

 

I have a table displaying share point data, for the price column using the formula of 

Value(Text(ThisItem.'Total Price',"£#.##0.00"))

 

It not showing the second decimal if its a zero. It does in the sharepoint list.

rosscortb_0-1675763968119.png

 

Any ideas why?

 

Thanks

Ross

 

 

Categories:
I have the same question (0)
  • iAm_ManCat Profile Picture
    18,228 Most Valuable Professional on at

    It's because you are formatting this as a Value, which does not need trailing zeroes and has no setting for how many decimals to display.

     

    I would suggest to keep them as Text until you need to convert them for something else.

    Text(ThisItem.'Total Price'),"£#.#0")

  • rosscortb Profile Picture
    196 on at

    @iAm_ManCat 

    Thanks. I took the bracket out as was showing as an error. 

    Text(ThisItem.'Total Price',"£#.#0")

     

    Now shows as, 

    rosscortb_0-1675775401474.png

     

     

    Thanks

    Ross

     

  • iAm_ManCat Profile Picture
    18,228 Most Valuable Professional on at

    Can you give some more context around this, my example I created only showed the two digits as specified by the Text value

    are there labels inside that column and what are their Default values

  • rosscortb Profile Picture
    196 on at

    It takes the price from this is sharepoint column,

    rosscortb_0-1675778607374.png

     

     In the list it shows, 

    rosscortb_1-1675778639976.png

     

    But the PowerApps table is not displaying the zero if there is a zero as the second decimal.

     

    You can see the 16.75 but in the row above there is a zero after the 8 so it should read, 90.80.

    rosscortb_2-1675778778880.png

     

    Thanks

    Ross

     

     

  • Verified answer
    iAm_ManCat Profile Picture
    18,228 Most Valuable Professional on at

    Ah, so its a calculated column not a text value 

     

    We could probably get away with using the following:

    Text(ThisItem.'Total Price',"£#.00")

     

    If that doesn't work then you could split it and rejoin it as text, but let's try the above first

     

    iAm_ManCat_0-1675779349559.png

     

     

    Otherwise we could go the spli

  • rosscortb Profile Picture
    196 on at

    @iAm_ManCat Ah that's it. So weird as seems so simple. Sure I probably tired about 30 different flavors of that formula. 

    Thanks for your help.

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…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard