DataSet.WriteXML writes decimals in Scientific Notation

G

Guest

I have a DataSet that contains a table with about 6 columns of high accuracy
decimal values. When I try to write out the DataSet using the WriteXML()
function the XML is written fine, but the decimal values are written out in
scientific notation ("9.984348392E+08"). This wouldn't be a problem except
when I try to READ the XML file back into a DataSet I keep getting a
System.FormatException saying "Input string was not in a correct format." Is
there a way to get the DataSet to write out the number without using
Scientific Notation? Or is there someway to have it parse the scientific
notation when reading the numbers in? Thanks for any help.

Smoke
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top