Guidance
指路人
g.yi.org
Guidance Forums / Rapid-Q Basic / Addition problem?

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. Addition problem?
#1141
Posted by: Lawrence 2003-12-28 05:10:26
I'm trying to add 0.01 to 1.03 or someting like that.... the result turns out to be 1.03999997 or something.... i don't understand it.

I've tried many ways.....

(assuming m = 1.03)
INC(m,0.01) results in 1.03999....

All of the variables I'm using are in SINGLE...
Message2. Re: Addition problem?
#1142
Posted by: OvalX 2003-12-28 19:29:40
Try DOUBLE, I think, a year ago I have had the same problem and type DOUBLE counts correct the decimals numbers. Mayby this helps to you :-) Have a nice day.
Best regards Slavo
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
¥1,290.00 ·
 
 
¥918.00 ·
 
 
¥890.00 ·
 
 
¥294.00 ·
 
 
¥430.00 ·
 
 
¥1,380.00 ·
© Sun 2024-11-24  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0