How to display the value with currency symbol in Xamarin.Forms numeric controls?
The value of Xamarin Numeric Textbox or numeric up-down controls can be localized to any specific culture by setting the FormatString property value as currency (c – symbol) and changing that specific culture property as follows
[C#]
… SfNumericUpDown numericUpDown = new SfNumericUpDown() { … Value = 100, FormatString = "c", Culture = new System.Globalization.CultureInfo("en-US"), … }; … SfNumericTextBox numericTextBox = new SfNumericTextBox() { … Value = 1000, FormatString = "c", Culture = new System.Globalization.CultureInfo("en-US"), … }; …
Output
See Also,
How to customize the numeric controls appearance
How to format the numeric value
How to restrict the value entry in numeric control
Conclusion
I hope you enjoyed learning about how to display the value with currency symbol in Xamarin.Forms Numeric controls.
You can refer to our Xamarin.Forms Numeric feature tour page to know about its other groundbreaking feature representations and documentation, and how to quickly get started for configuration specifications. You can also explore our Xamarin.Forms Numeric example to understand how to create and manipulate data.
For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls.
If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!