Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What's wrong with VFP 5.0a's math (or is it me)?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00032141
Message ID:
00032165
Vues:
37
Jeff,

If I create a CURSOR with data types of currency and numeric and put 218.18 in each of them, when I multiply by the numeric I get the right anwser and by the currency I get the incorrect (truncated, rounded?) answer.

I suspect it has something to do with the decimal data type. What does debugger say about TYPE() for this field?

Randy
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform