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
•
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
•
Refresh
•
New Topic
•
Search
•
Previous
•
Next
1
掌柜推荐
¥410.00
TOM-R52-BI指针式温度表带背光52mm可定制刻度及logo发动机用抗震
¥995.00
DRE-PE2H-AC智能双向速度继电器超速欠速正反转保护测速仪转速表
¥397.00
双福N1R-4C-70细齿轮转速传感器M16*1长70有源3线非接触测速推挽
¥1,150.00
SRE-AD2H智能速度继电器20mA转速电流变送器带显示转速监控模块
¥790.00
SRE-PD1M速度继电器超速保护转速监控监视欠速低速打滑飞车报警
¥1,280.00
双福SDE-PE2H-AC差动转速速度继电器超欠速差速报警打滑监测
©
Thu 2025-5-8
Guidance Laboratory Inc.
Email:
webmaster1
g.yi
.
org
Hits:
0