Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Diff. between Numeric with precision, Currency and Doubl
Message
 
À
10/06/2003 09:56:36
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:
00798353
Vues:
28
Thanks Hilmar, but that should mean that the number displayed is rounded to the decimal places as defined to display? What that would mean is that if I have put in 4 decimals as precision for double then though it shows me 4 precision all the other precisions are stored and maybe rev. up there heads when a combined calc. is later perfomed, which may alter the rounded view.

Good or bad?

>If I remember correctly, in a "double", you can save more decimals than you specified, for instance with a REPLACE command. The number of decimals specifies the standard way the number is presented to the user. It also affects calculations, but only the display part: it seems that each calculation in Visual FoxPro includes the actual number, and with how many decimals it should be displayed.
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