Notifications
Announcements
Hello,
Is it possible to display a number input with 2 decimals always?
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?
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/
@Akshansh-Sharma
Thanks, nothing changed:
@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
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 717 Most Valuable Professional
Michael E. Gernaey 329 Super User 2025 Season 2
Power Platform 1919 268