Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where should ROUND() be applied in complex calc
Message
De
27/04/2009 01:21:56
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01396309
Message ID:
01396450
Vues:
97
This message has been marked as the solution to the initial question of the thread.
>Thanks Rakesh for responding and I know you have been through the same. Okay, I understand user specific rounding at each tax level, what do you do about rounding the qty * rate, any other add less they want, in short any other Paises that arise apart from taxes? Do you take a global rounding and forcefully apply them or you don't round at any other level but ask them to put in a round at the end of the document, say an Invoice or do you allow user defined round there too?
>
>Kind regards.

Qty. x rate which is equal to 'Amount' is rounded at 2nd decimal. (No choice give to customer here) Ex : 100.126 is stored as 100.13

All induvidual taxes can be rounded to an integer or rounded at 2nd decimal (setting based)

Grand total rounding can also be rounded to an integer or rounded at 2nd decimal (setting based)

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

Click here to load this message in the networking platform