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 

Delphi 7 divison calculation error ????

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi (General)
View previous topic :: View next topic  
Author Message
Westy
Guest





PostPosted: Fri Aug 12, 2005 12:01 am    Post subject: Delphi 7 divison calculation error ???? Reply with quote



Hi I am checking some calculations in a Delphi 7 and I have checked a
calculation using Reals or Extended variables. Both give the same error
in calculation in Delphi compared to a calculator.
The division I am doing is 5500/2197.023
The Delphi result is 2.504527
The result for a calculator or Excel is 2.503387

What am I doing wrong. I have been using Delphi for years and I have
the same program in Delphi 6 and it gives the same result as Delphi 7.
If someone can explain this difference it would be greatly appreciated.


Steve

Back to top
Riki Wiki Google
Guest





PostPosted: Fri Aug 12, 2005 12:49 am    Post subject: Re: Delphi 7 divison calculation error ???? Reply with quote



Hoi Westy

Quote:
What am I doing wrong.

Take a look here:
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 (General) 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.