Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Modern controls number input two decimals

(1) ShareShare
ReportReport
Posted on by 2,278

Hello,

 

Is it possible to display a number input with 2 decimals always?

 

WebPortal_0-1720516868627.png

 

 

Instead of 0 or 1, I'd like to have 0.00 and 1.00, since the step is 0.25.

 

How to achieve this?

  • Akshansh-Sharma Profile Picture
    281 Super User 2025 Season 1 on at
    Re: Modern controls number input two decimals

    @WebPortal ,

     

    Modern controls can be buggy and that's expected because they are in preview, so can you use the classic text input and change the format to "Number" of the classic control which will basically behave just like Modern Number Input.

     

    if you can do that please use the same code on the text property and it will work just fine

     

    Text(674576587687,"#.00")

     

    --------------------------------------------------------------------------------------------------------------------

    Please click Accept as solution if my post helped you solve your issue. If the content was useful in other ways, please consider giving it Thumbs Up 😉

     

    LinkedIn- https://www.linkedin.com/in/akshansharma/

  • WebPortal Profile Picture
    2,278 on at
    Re: Modern controls number input two decimals

    @Akshansh-Sharma 

    Thanks, nothing changed:

     

    WebPortal_0-1720528846273.png

     

  • Akshansh-Sharma Profile Picture
    281 Super User 2025 Season 1 on at
    Re: Modern controls number input two decimals

    Hi @WebPortal ,

     

    please put this code on the text property of your modern control

    Text(674576587687,"#.00")

     

    This will always show you 2 decimal places no matter how long number you are passing

     

    Note: Modern controls are still in Preview partially, including the Text control which should not be used in your productions apps

     

    --------------------------------------------------------------------------------------------------------------------

    Please click Accept as solution if my post helped you solve your issue. If the content was useful in other ways, please consider giving it Thumbs Up 😉

     

    LinkedIn- https://www.linkedin.com/in/akshansharma/

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,645 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard