Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Serious Error with Currency Data Type
Message
 
 
À
18/01/1999 16:49:19
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00177250
Message ID:
00177375
Vues:
54
Calvin,

The help file says "currency expression" that means everything involved in the calculation, including decimal constants or memory variables. Yes, it is performing as documented. An so VFP is working opposite of your assumption. Like I, Ed and Christof have mentioned, if you need more precision you need to take the currency to a numeric before you multiply it, then convert it back.

>I appreciate your reply but please note that the decimal value in my example was a numerical and not a currency value. What I thougth would happen is that the currency value would be multiplied by the numerical and the result converted to a currency. What is happening is the numerical is being converted to a currency and then multiplied. Is this planned???
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform