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 / Decimals number in dis...
Power Apps
Unanswered

Decimals number in display form

(0) ShareShare
ReportReport
Posted on by 353

Hi community,

 

I have a form that shows me various data, one of which is a number, how could I configure this label so that it shows me the number with a single decimal?.

 

Francisco77_0-1699622913262.png

 

 

Regards,

 

Francisco

Categories:
I have the same question (0)
  • SpongYe Profile Picture
    5,715 Super User 2026 Season 1 on at

    Hi @Francisco77 

     

    //Method 1
    Text(MyNumber, "#.#") //Text(123.456, “#.#”) will return "123.5"
    //Method 2
    Round(MyNumber, 1) // Round(123.456, 1) will return 123.5

     

     

    If you have any questions or feedback, please let me know. Have a great day! 😊

    -----------------------
    PowerYsa Power Platform Enthusiast [LinkedIn] | [Youtube]

    I love to share my knowledge and learn from others. If you find my posts helpful, please give them a thumbs up 👍 or mark them as a solution ✔️. You can also check out my [@PowerYSA] for some cool solutions and insights. Feel free to connect with me on any of the platforms above. Cheers! 🍻

  • M_Ali_SZ365 Profile Picture
    1,110 on at

    Hi @Francisco77 ,

    In Power Apps, if you want to format a number to show only a single decimal place, you can use the Text function to format the number accordingly. Here's an example of how you can format a label to show a number with one decimal place:

    Text(YourNumber, "0.0")

    Replace YourNumber with the actual data source or field name that contains your number. When you set the Text property of the label to this formula, it will display the number rounded to one decimal place.

    Here is how you might apply it in the context of your form:

    1. Select the label that displays the number.
    2. In the property pane on the right, find the Text property.
    3. Set the Text property of the label using the formula above.
      For example, if the label is supposed to show the value of a field named TotalTarget, you would use:
    Text(ThisItem.TotalTarget, "0.0")

    This will ensure the label shows the number with only one decimal place, as requested.

    If this solution resolves your issue, please consider marking it as accepted.

    Warm regards,
    Muhammad Ali

  • Francisco77 Profile Picture
    353 on at

    Hi @SpongYe 

     

    Thanks but it doesn't work for me.

     

    Francisco77_0-1699624722593.png

     

     

     

  • Francisco77 Profile Picture
    353 on at

    Hi @M_Ali_SZ365 

     

    Thanks but it doesn't work for me.

     

    Francisco77_0-1699624825600.png

     

  • SpongYe Profile Picture
    5,715 Super User 2026 Season 1 on at

    Replace the comma (,) with a dot (.)

    Text(ThisItem.'TOTAL TARGET HECTARES'; "#.#")

    You could also try Round()

    Round(ThisItem.'TOTAL TARGET HECTARES', 1)

     

    If you have any questions or feedback, please let me know. Have a great day! 😊

    -----------------------
    PowerYsa Power Platform Enthusiast [LinkedIn] | [Youtube]

    I love to share my knowledge and learn from others. If you find my posts helpful, please give them a thumbs up 👍 or mark them as a solution ✔️. You can also check out my [@PowerYSA] for some cool solutions and insights. Feel free to connect with me on any of the platforms above. Cheers! 🍻

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

    @Francisco77 

    What's the data type of your 'TOTAL TARGET HECTARES' column? Is it possibly a SharePoint calculated column? If not, is it a number column?

  • M_Ali_SZ365 Profile Picture
    1,110 on at

    Hi @Francisco77 ,

    please try this code

    Text(Round(YourNumber, 1), "0.0")

    If this solution resolves your issue, please consider marking it as accepted.

    Warm regards,
    Muhammad Ali

     

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
Vish WR Profile Picture

Vish WR 633

#2
11manish Profile Picture

11manish 588

#3
Valantis Profile Picture

Valantis 457

Last 30 days Overall leaderboard