DoubleTextBox decimal question

Hi,
great product!

I have though one question (request) about DoubleTextBox.
Basically, I have in database a number like 123,123 (, is our decimal separator).
When I load that data into DoubleTextBox with decimal numbers = 3 it shows correctly.
Then again in another data I have 123,000. Basically I would want the same textbox to show 123 instead of 123,000.
For example if I have 123,100 in database could it show 123,1 ?

Is this doable and how?


Thank you in advance,

Mega

1 Reply

KJ Keerthana Jegannathan Syncfusion Team November 28, 2017 11:55 AM UTC

Hi MegaMan, 
 
We understand that your requirement is to remove the zeros after the decimal point in DoubleTextBox control . If so, we suggest you to use “MinimumDecimalDigits” and “MaximumDecimalDigits” property in order to handle the digits used after decimal point. We have prepared a simple sample with DoubleTextBox and it can be downloaded from the below location. 
 
 
While preparing the sample, we have faced the issue while using Decimal separator. We considered this issue as bug and a support incident has been created under your account to track the status of this requirement. Please log on to our support website to check for further updates. 
 
 
Regards, 
 
Keerthana J 


Loader.
Up arrow icon