On Dec 2, 2006, at 1:48 PM, Jan Erik Moström wrote:

What would be the best way to save/read numerical values to/from XML data without losing precision?



The string property of variant would allow you to save doubles with full precision, I believe. Alternately, you can save with full precision with something like:

MyDoubleAsString = Format(MyDouble, "-#.###############e+")

Then read with Val() or CDbl().

Best,

Jack
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to