Need help to sort out the below code...

Jugurtha Hadjar jugurtha.hadjar at gmail.com
Sat Sep 14 04:38:19 EDT 2013


Hello, mnishpsyched..

You also want the VAT to be computed as a percentage _of_ something, and 
not hard-coded, so that if you change the price of the pizza, you only 
have to change one value (pr_pz) instead of two values pr_pz and tx_tz 
(as the second is computed from the first).

You only multiply by coefficients, and these coefficients (the 
percentage the state charges) is less likely to change than the costs of 
ingredients or your margins (money moves faster than legislation).



-- 
~Jugurtha Hadjar,



More information about the Python-list mailing list