Articles in this section
Category / Section

How to Change the Value Format in the .NET MAUI Numeric Entry (SfNumericEntry)?

2 mins read

In the .NET MAUI Numeric Entry (SfNumericEntry) control, you can easily customize the format of the displayed numerical values. By utilizing the N, C, and P format specifiers, you can apply numeric, currency, and percent custom formats using the CustomFormat property.

NOTE

You can utilize a range of custom formats provided on this page, all of which are compatible with the double data type.

XAML

<syncfusion:SfNumericEntry x:Name="numericEntry" 
                           Value="65"
                           CustomFormat="P"/>

C#

SfNumericEntry numericEntry = new SfNumericEntry();
numericEntry.Value = 65;
numericEntry.CustomFormat = "P";

Output

Percentage.png

Conclusion
I hope you enjoyed learning how to change the value format in .NET MAUI Numeric Entry (SfNumericEntry).

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.

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

Please let us know in the comments section below if you have any queries or require clarification. You can also contact us through our support forum, 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)
Please  to leave a comment
Access denied
Access denied