Having trouble getting help?
Contact Support
Contact Support
Set Maximum Number of Decimal Digits
17 Jan 20251 minute to read
The maximum number of digits to be displayed after the decimal point can be specified by using the MaximumNumberDecimalDigits
property.
NOTE
The
MaximumNumberDecimalDigits
property can be provided with positive value only.
[C#]
numericTextBox.MaximumNumberDecimalDigits = 2;
Remove Default Decimal Digits in Xamarin Numeric Entry
Based on the MaximumNumberDecimalDigits
property, the default number of decimal digits is displayed. By disabling the AllowDefaultDecimalDigits
Boolean property, those default digits can be removed from the numeric entry view.
numericTextBox.AllowDefaultDecimalDigits = false;