Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
When to choose currency data type?
Message
 
À
20/08/2009 22:23:35
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01419279
Message ID:
01419446
Vues:
65
Hi Hilmar

>(try: ? $1 / 3 * 3).

0.9999 is this good? I have also tried ? $1 / $3 * $3 obviously no change as the other numbers were converted to currency anyway. I am too burnt with financial rounding and this did not look good to me either. Yes, a ROUND(, 2) solves the problem, not sure if I understand this, couldn't I very well use a float and get the same result?
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