Articles in this section

How to truncate the trailing zeros in .NET MAUI Numeric Entry (SfNumericEntry)?

This section illustrates the process of eliminating trailing zeros in a .NET MAUI Numeric Entry by utilizing the CustomFormat property, as demonstrated in the following code snippet.
.

XAML

<inputs:SfNumericEntry WidthRequest="200"
                       HeightRequest="50"
                       CustomFormat="0.##"
                       Value="7.400"/>

Output

Screenshot 2023-12-12 164344.png

Conclusion
I hope you enjoyed learning how to truncate the trailing zeros in .NET MAUI Numeric Entry.

Refer to our .NET MAUI Numeric Entry feature tour page to learn about its other groundbreaking feature representations. You can explore our .NET MAUI Numeric Entry documentation to understand its features and how to use it.

Check out our .NET MAUI components from the License and Downloads page for current customers. If you are new to Syncfusion®, try our 30-day free trial to check out our .NET MAUI Numeric Entry and other .NET MAUI components.

Please let us know in the comments section if you have any queries or require clarification. You can also contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied