Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Only currency is sure computation decimals values ?
Message
From
11/06/2003 09:49:10
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Only currency is sure computation decimals values ?
Miscellaneous
Thread ID:
00798893
Message ID:
00798893
Views:
83
Hi,

I suspected from much time, but me it seemed impossible.
CREATE CURSOR TEST (b B DEFAULT 0.1,n N(18,4) DEFAULT 0.1,y Y DEFAULT $0.1)
FOR I=1 TO 10000000
	APPEND BLANK
NEXT
SELECT ROUND(SUM(b),4) sb,sum(y) sy,sum(n) sn FROM test INTO CURSOR result

? TRANSFORM(sb+0.000000000000000)
? sn
? sy
Where it is my error?

Fabio
Next
Reply
Map
View

Click here to load this message in the networking platform