We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Decimal Points

Hi,

I have been trying to use the numeric textbox however I can't see the property for setting the number of decimal places for the value,
as in some cases I require a whole number.
Does anyone know how I can set this?

Thanks

3 Replies

KJ Keerthana Jegannathan Syncfusion Team September 6, 2016 12:57 PM UTC

Hi Francis, 
 
Thank you for contacting Syncfusion support. 
 
We have prepared sample with SfNumericTextBox in which we have used MaximumNumberDecimalDigits and FormatString property to set the number of decimal places and also to make use of whole number in required cases. Please refer to the below code sample. 
 
 
Please let us know, whether it is helpful. 
 
Regards, 
Keerthana J 



FR Francis September 7, 2016 03:07 PM UTC

Hi,

Thank you for your reply.
Yes I can now set the decimal digits for the numeric text box.

Regards

Francis



KJ Keerthana Jegannathan Syncfusion Team September 8, 2016 05:42 AM UTC

 
Hi Francis, 
 
Thank you for your update. 
 
We are glad that we helped in achieving your requirement. Please let us know if you need further assistance. 
 
Regards, 
Keerthana J 


Loader.
Live Chat Icon For mobile
Up arrow icon