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 Apps / Formatting Decimal Pla...
Power Apps
Answered

Formatting Decimal Plances

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello 

 

I have seen this mentioned through multiple posts however, I have followed each post I have found with none solving my issue.

 

We have a SharePoint List which has a calculated column with the below formula 

 

=ROUNDUP(IF(ISBLANK(Cost),0,IF(Cost<25,25,Cost*1.2)),2)

 

This provides an output like 25.00, 36.58, 125.33 etc.

 

When I pull this into Power Apps it comes through as 25.000000000000000, 36.580000000000000, 125.330000000000000 etc.

 

I have seen other posts recommend TEXT([value],"#.##") or ROUNDUP([value],2) but neither have worked for me.

 

I have also tried setting the calculated column to Single Line of Text, Number (2 decimals) and Currency (GBP with 2 decimals).

 

Have I missed a setting?

 

Annotation 2020-02-18 113619.png

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    154,797 Most Valuable Professional on at

    Hi @Anonymous ,

    I have struck that one before and my solution (such as it is) is to simply do the calculation by either a Variable or a hidden label in PowerApps as all the source fields are available.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • Verified answer
    timl Profile Picture
    36,774 Super User 2026 Season 1 on at

    Hi @Anonymous 

    The text formatting function applies to numeric input values only. The thing that's most likely happening is that SharePoint is returning the value as a string, which explains why your formula doesn't work.

     

    image.png

    The solution is to convert your value to a number by calling the Value function within your call to Text. This should hopefully resolve the problem.

     

    image.png

     

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 Apps

#1
11manish Profile Picture

11manish 505

#2
WarrenBelz Profile Picture

WarrenBelz 502 Most Valuable Professional

#3
Haque Profile Picture

Haque 324

Last 30 days Overall leaderboard