Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #54157
| Date | 2013-09-14 09:38 +0100 |
|---|---|
| From | Jugurtha Hadjar <jugurtha.hadjar@gmail.com> |
| Subject | Re: Need help to sort out the below code... |
| References | <9f6d4a88-4ae4-4e61-9f73-c074ec3f487f@googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.373.1379147907.5461.python-list@python.org> (permalink) |
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,
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Need help to sort out the below code... mnishpsyched <mnish1984@gmail.com> - 2013-09-13 23:34 -0700 Re: Need help to sort out the below code... Terry Reedy <tjreedy@udel.edu> - 2013-09-14 03:50 -0400 Re: Need help to sort out the below code... Jugurtha Hadjar <jugurtha.hadjar@gmail.com> - 2013-09-14 09:38 +0100 Re: Need help to sort out the below code... John Gordon <gordon@panix.com> - 2013-09-14 14:42 +0000
csiph-web