Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BUG in round() function?!?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00871732
Message ID:
00871796
Vues:
27
No i don't need this much digits but in my .prg the result of a calculation is put in a variable. In this example the result is literally: 147.32500000000... Do i have controle over the digits returned by a calculation? Or is this the round()-function i'm talking about?

In my .prg i set decimals to 6.
The overall result of my .prg is a number rounded by 2 decimals. Is it safe to round my sub-results to e.g. 6? Or CAN this have any influence on the overall result?

Willem-Jan van Ede
Vektis BV
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform