| View previous topic :: View next topic |
| Author |
Message |
fars Guest
|
Posted: Fri Apr 21, 2006 11:04 am Post subject: xml data binding - Rounding number problem |
|
|
Hi,
I'm using delphi 7 xml data binding to read and write xml data.
Evreything works fine but all attributes that I have defined as
"double" are rounded up when read from the xml file. I have checked the
values immediately after loading from file i.e.
LoadXMLDocument(FileName).GetDocBinding...etc
The regional settings are all fine. I tried to debug right to the point
where the value is being read but couldn't get there.
Any help is appreciated.
Many thanks |
|
| Back to top |
|
 |
fars Guest
|
Posted: Fri Apr 21, 2006 12:04 pm Post subject: Re: xml data binding - Rounding number problem |
|
|
Please ignore. I was using a NullToZero function which I though was
returning a variant but it was returning an integer.
Thanks |
|
| Back to top |
|
 |
Riki Wiki Guest
|
Posted: Sun Apr 23, 2006 2:03 am Post subject: Re: xml data binding - Rounding number problem |
|
|
Hoi Fars
Great that you managed to solve your own problem. Next time you post you
need to do so on the Borland news server to make everybody see it and
possibly answer your question.
Take a look here:
<http://tinyurl.com/8m5nw>
which links to
<http://delphi.wikicities.com/wiki/Delphi_Newsgroups> |
|
| Back to top |
|
 |
|