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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 534
WarrenBelz 416 Most Valuable Professional
Valantis 306