Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Serious Error with Currency Data Type
Message
De
18/01/1999 12:40:19
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgie, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Serious Error with Currency Data Type
Divers
Thread ID:
00177250
Message ID:
00177250
Vues:
66
I have found that using currency data types results in incorrect answers for simple math operations. For example, if I have a currency value and multiply it by a decimal value it appears that foxpro converts the decimal value to a currency type before the operation rather than after the operation. Test the following on your machine:
1050.45 * .41116=431.9030
$1050.45 * .41116=431.9450

This has got to be an error and it renders currency virtually useless without doing mton conversions everywhere.

Microsoft are you going to fix this???
A problem is a problem only as long as it has a possible solution. Lacking that, it becomes a FACT!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform