Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Diff. between Numeric with precision, Currency and Doubl
Message
De
10/06/2003 09:16:47
 
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:
00798327
Vues:
35
Hi Bhavbhuti,

you want use DOUBLE ?

Attention:
CREATE CURSOR TEST (v B)
APPEND BLANK
FOR I=1 TO 100
 REPLACE v WITH v+0.03
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform