Dataset update losing precision

32 views Asked by At

I'm using Visual Basic 2010 to build a Windows application, using an Access *.mdb for it's memory. Most of the data reads and writes work correctly, except for where I'm entering data into a datagridview, and using a table adapter update to save the data to the memory via a dataset data source. Again, that works fine until I get to 9 significant figures, and I start to loose precision, for example, 1,033,241.78 saves as 1,033,241.75. Where I use an oledb connection, I get no such precision loss; 1,033,241.78 saves as 1,033,241.78. The numeric fields of the database are double, the numeric fields of the dataset are double, so according to all of the best search results, I should be no-where near my precision limit. Please, any clues?

0

There are 0 answers