I have an application that runs in English and Dutch locale. I have a dataset that retrieves decimal values from the database.I use that data and convert them to Double value and display in my report. e.g: i have a value say 150.89 in the database.Once that is retrieved from the database in to the dataset , the value is stored as 150,89 in the dataset. And once i try to convert 150,89 to double the value becomes 15089. I think if i can preserve the value as 150.89 and then when i convert to double , it will become 150,89. Please help me in this.
You should be checking the decimal character of the locale and in some locale its , Now actual test case should be when you have the data entered in the locale should be consistent.