Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Diff. between Numeric with precision, Currency and Doubl
Message
 
À
10/06/2003 14:20:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00798235
Message ID:
00798757
Vues:
30
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
___________________________________________
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform