Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rounding Errors
Message
De
03/10/2003 14:14:10
 
 
À
03/10/2003 14:10:18
Leshel Rich
Plains Cotton Coop Assoc
Lubbock, Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00834520
Message ID:
00834938
Vues:
25
>Hi Fred,
>It is actually a calculation.
>Here is a sample of what it looks like:
>select a_tmpf1
>replace all extprice = round(qty * price),2)
>
>qty = 11238
>price = .045700000
>
>I get an answer of 533.80 and it should be 533.81.
>
>I must be doing something wrong.
>Thanks!

Are you sure? I get 513.58 (513.576600000)
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform