读书人

vfp 8.0 中数据库表的有关问题

发布时间: 2012-04-01 17:23:46 作者: rapoo

vfp 8.0 中数据库表的问题
create cursor temp(qty B(2) not null)
append blank
replace qty with 9.12 (或8.12)
?str(temp.qty,30,15) && it will show 9.119999999999999

谁知道是什么原因?现在我从数据库表经过计算一些数据导出到excel本来为0的数据会出现一些很小的小数。

急等,先谢谢了!

[解决办法]
你看看这个

http://community.csdn.net/Expert/topic/5345/5345811.xml

读书人网 >VFP

热点推荐