Message93840
| Author |
mark.dickinson |
| Recipients |
eric.smith, mark.dickinson |
| Date |
2009年10月10日.19:28:51 |
| SpamBayes Score |
0.0004886287 |
| Marked as misclassified |
No |
| Message-id |
<1255202932.85.0.142010342432.issue7098@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> It should strip all trailing zeros from the result:
Hmm. Thinking about this some more, I don't think this is true: format() shouldn't be throwing away significant information (in Decimal
the number of trailing zeros *is* significant information) unless that's
necessary to fit the result into the given precision.
So I think the current code is correct.
However, we could do with documenting the precise rules being used for
Decimal formatting somewhere. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2009年10月10日 19:28:53 | mark.dickinson | set | recipients:
+ mark.dickinson, eric.smith |
| 2009年10月10日 19:28:52 | mark.dickinson | set | messageid: <1255202932.85.0.142010342432.issue7098@psf.upfronthosting.co.za> |
| 2009年10月10日 19:28:51 | mark.dickinson | link | issue7098 messages |
| 2009年10月10日 19:28:51 | mark.dickinson | create |
|