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 / Getting rid of numbers...
Power Apps
Answered

Getting rid of numbers after decimal point

(0) ShareShare
ReportReport
Posted on by 509

Morning

 

I've got gallery which is returning a number from SP list. It's returning the value 6.600000000000000000. I want bring it down to just two numbers after the decimal point (6.60) and have the option to round it up just to 6.

 

On the Text property I've got:

 

"New Total: " & ThisItem.Total  

I came across the following on another thread:

"[$-en-US]#.0")

but don't know where that would fit in the formula?

 

Thanks in advance!

Categories:
I have the same question (0)
  • timl Profile Picture
    36,774 Super User 2026 Season 1 on at

    Hi @darrenfloyd666 

    Can you clarify what you mean about rounding it up to 6?

    With an input value of 6.6, did you mean that you want to round it up to 7, or do you actually want to round it 'down' to 6?

     

  • sutekh Profile Picture
    509 on at

    @timlround it up to 7

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

    Hi @darrenfloyd666 

     

    //This will round up to 7
    Text(6.600000000000000000, "#")
    
    //This will display 6.66
    Text(6.600000000000000000, "#.00")
    
    //This will round up to 7 in your gallery
    "New Total: " & Text(ThisItem.Total, "#") 
    
    //This will display 6.66 in your gallery
    "New Total: " & Text(ThisItem.Total, "#.00") 
    

     

  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @darrenfloyd666 ,

    Could you please share a bit more about the "Total" column? Is it a Calculated type field in your SP List?

     

    If the "Total" column is a Calculated type field in your SP List, actually, it is an known issue with the "Calculated" field in SP list. The user @Casey-Lee has faced similar issue with you, please check the response within the following thread:

    https://powerusers.microsoft.com/t5/Building-Power-Apps/Calculated-SharePoint-column-giving-13-decimals-when-imported/m-p/399672

     

    If you want to remain two decimals point for your Total number, please set the Text property of the Label to following:

     

    "New Total: " & Round(
     Value(ThisItem.Total),
     2
    )

     

     

    If you want to round up your Total number value to a whole number, please modify above formula as below:

     

    "New Total: " & Round(
     Value(ThisItem.Total),
     0
    )

     

     

    Please take a try with above solution, check if the issue is solved.

     

    Best regards,

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

    Hi @darrenfloyd666 

    Just to add to this, if you choose to use the Round function, you can prefix your label with your "New Total: " label like so -

     

    If you want to round to two decimals places, please set the Text property of the Label to following:

    "New Total: " &
    Round(
     Value(ThisItem.Total),
     2
    )

     

    If you want to round up to a whole number, please modify above formula as below:

    "New Total: " &
    Round(
     Value(ThisItem.Total),
     0
    )

     

  • ArmyTim Profile Picture
    2 on at

    I have five blocks with numbers 1-5 in each on my SharePoint list.  My card shows 3.0000000000 as a total I would like a whole number.

    I have copied Value(ThisItem.Value, "en-US") from this forum however, where does it go on my card?  Currently I have Parent.Default.

    Thanks

    Tim

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 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard