Message170769
| Author |
cool-RR |
| Recipients |
Alexander.Belopolsky, belopolsky, cool-RR, facundobatista, mark.dickinson, rhettinger, skrah, vstinner |
| Date |
2012年09月19日.20:32:06 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1348086727.38.0.15645123586.issue14262@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I can think of millions of use cases. Here's a random one out of those millions: A client is entitled to X hours of service a month. We grant him a promotion where he is allowed 15% more than x, i.e. 1.15*x. But that number, 1.15, is stored in a Django decimal field. We try to multiply 1.15 by the timedelta X and it fails. |
|