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 / Modern controls number...
Power Apps
Unanswered

Modern controls number input two decimals

(1) ShareShare
ReportReport
Posted on by 2,295

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?

Categories:
I have the same question (0)
  • Akshansh-Sharma Profile Picture
    285 Moderator on at

    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/

  • WebPortal Profile Picture
    2,295 on at

    @Akshansh-Sharma 

    Thanks, nothing changed:

     

    WebPortal_0-1720528846273.png

     

  • Akshansh-Sharma Profile Picture
    285 Moderator on at

    @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/

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 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard