BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

xml data binding - Rounding number problem

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi XML
View previous topic :: View next topic  
Author Message
fars
Guest





PostPosted: Fri Apr 21, 2006 11:04 am    Post subject: xml data binding - Rounding number problem Reply with quote



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





PostPosted: Fri Apr 21, 2006 12:04 pm    Post subject: Re: xml data binding - Rounding number problem Reply with quote



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





PostPosted: Sun Apr 23, 2006 2:03 am    Post subject: Re: xml data binding - Rounding number problem Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi XML All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.