Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Doubles and UI display
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01422588
Message ID:
01422759
Vues:
21
>Dunno whether this answers your problem, but
>
>every calculation ( multiplication or division ) has to be rounded to two decimals - then the problem diappears

Yes, thanks. I can be strict with myself to be careful to round stuff, but the real problem is that we have taxes on tax amounts so things start falling apart somewhere down the line, I will give you a typical manufacturers invoice footer

1) Item Value
2) Discount if any
3) Value after discount
4) Excise eg. 16% of 3)
5) Education Cess 2% of 4)
6) S&H Education Cess 1% of 4)
7) subtotal
8) VAT 4% of 7)
9) Addl. VAT 1% of 8)
10) Grand Total

Not to mention various addition and deductions required. These Cess and Addl. taxes that are killers when rounding, esp. upto 0 decimals are what the clients want.

Thanks anyway, I will keep on racking my brains every once in a while to find out if there is a solve-it somewhere out there :)
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform