Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Diff. between Numeric with precision, Currency and Doubl
Message
 
To
10/06/2003 14:20:45
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00798235
Message ID:
00798757
Views:
31
Hi Fabio

>you can't rounded double field

I tried this with your code, seems to work, Please advise:
CREATE CURSOR TEST (v B)
APPEND BLANK
FOR I=1 TO 100
 REPLACE v WITH round(v+0.03, 2)
NEXT
? TRANSFORM(v)
? TRANSFORM(v,'@^')
? v=3
? v=3.00000000000
* OK v is 3.
* No! v isn't 3.
? v=3.000000000000
? TRANSFORM(v+0.000000000000000)
? (v-3)*10^15
>
>Fabio
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform