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

leading zeros

Hello Syncfusion,
I was trying to lookup how can I setup format for numbers in DoubleTextBox in your Dashboard example applications. I was not able to find any example of DoubleTextBox with specified leading zeros. Only NumberDecimalDigits.

DoubleTextBox.Value = 123.45 And we would like to display it as 00000123.4500

Our Syncfusion library has version 12.2400.0.36


1 Reply

VJ Victory Jessie Selvam D Syncfusion Team April 16, 2015 07:10 AM UTC


Thank you for using Syncfusion products.

Only when converted to string representation we can have leading zeros. Double value cannot have leading zeros and DoubleTextBox.Value property is of type double?(nullable). So we cannot display zeros before number even if the Text is formatted(double.Parse method will remove it). Kindly refer the following msdn forum link,


Please let us know if you need further assistance on this.


Live Chat Icon For mobile
Up arrow icon