Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Diff. between Numeric with precision, Currency and Doubl
Message
 
À
10/06/2003 10:25:47
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00798235
Message ID:
00798748
Vues:
33
>Double-precision numbers are stored internally in a binary format, and with the format of a number in scientific notation; one bit for the sign, so many bits for the exponent (base 2), so many bits for the mantissa (base 2). There are 15 significant digits, but there can be some rounding errors in the last digits.

Thanks

>I have no personal experience with this, but I believe the rounding errors will cause you trouble, but only occasionaly.

Iguess I won't, not soon, be using for scientific app, just business apps, where mostly it will be for value and qty. calcs.

Just a passing thought. Is the precision we define for a double in the table, say 3, can we change this programatically to say 6?!? <g>
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform