Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Str() how many decimal places can I be sure of
Message
De
03/01/2002 07:37:53
 
 
À
03/01/2002 07:28:12
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00600182
Message ID:
00600194
Vues:
25
Hi Alexandre

Do you know why issuing a STR(85.76,32,14) gives me
" 85.76000000000001" I want to know where the spurious 1 is coming from at the end. I'm sure I've read something somewhere about the limited accuracy of decimal places when converting to a string but I can't remember where

Thanks

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

Click here to load this message in the networking platform