Guidance
指路人
g.yi.org
Guidance Forums
/
Rapid-Q Basic
/ Addition problem?
最新
搜索
论坛
Reginald Rexx
STC(宏晶)单片机与电路设计
wxWidgets (wxWindows) in C++
奇瑞QQ车友论坛
生活信息交流与学习角
质量与可靠性
Rapid-Q Basic
FreeBasic
Reginald
Forum
Examples
RapidQ
Forum
Bugs
Examples
Resource
RQ Doc
RQ Intro
System
LeonAutoBackup
Home
Software
App
Lib
RapidQ
Reginald
Upload
Chrononet
回顶部
⇑
Forum List
•
Thread List
•
Reply
•
Refresh
•
New Topic
•
Search
•
Previous
•
Next
1
1.
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...
2.
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
•
Reply
•
Refresh
•
New Topic
•
Search
•
Previous
•
Next
1
掌柜推荐
¥1,480.00
DRE-AE2H双向测速速度继电器超速欠速转向正反转监视带电压或20mA
¥296.00
N1H-2A-55转速传感器齿轮探头霍尔非接触M14*1.5推挽3线有源脉冲
¥1,580.00
DMM-R100-BV双向转速表背光指针式正反转船用尾轴转速表孔径102
¥950.00
SRE-PD3H-AC CRS207超速保护继电器速度监控器转速欠速零速报警
¥477.00
D1H-5A-44双向齿轮传感器M18*1.5转速方向正反转识别非接触式霍尔
¥289.00
N1H-7A-55 100齿轮转速传感器速度探头M18*1可测零速高速几万转
©
Wed 2025-2-12
Guidance Laboratory Inc.
Email:
webmaster1
g.yi
.
org
Hits:
0