Message163543
| Author |
mark.dickinson |
| Recipients |
Ramchandra Apte, joncle, mark.dickinson, rhettinger, skrah |
| Date |
2012年06月23日.07:36:46 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1340437009.21.0.221040531065.issue15136@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> Something like Fraction.as_decimal(prec=28) would be reasonable.
I'd prefer an implementation of Fraction.__format__. That solves the SO user's need exactly. Note that he/she didn't care about the Decimal type, but only wanted to be able to *print* digits of a Fraction; the __format__ method is the OOWTDI. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年06月23日 07:36:49 | mark.dickinson | set | recipients:
+ mark.dickinson, rhettinger, skrah, joncle, Ramchandra Apte |
| 2012年06月23日 07:36:49 | mark.dickinson | set | messageid: <1340437009.21.0.221040531065.issue15136@psf.upfronthosting.co.za> |
| 2012年06月23日 07:36:48 | mark.dickinson | link | issue15136 messages |
| 2012年06月23日 07:36:46 | mark.dickinson | create |
|