Message104336
Too late for 2.7, but I would like this to hit 3.2. Some calculators have engineering format as an output option and it would be good for Python.
This issue is being discussed in python-list in thread "Engineering numerical format...". The OP (or someone) posted an Engineer(float) class with a .format method that does what *he* would like. Participants have been invited by Mark to comment here.
It was noted that Decimal has a .to-engineering-string method, but it follows the standard at page 20 of
speleotrove.com/decimal/decarith.pdf
which is different from what is being asked for. |
|
Date |
User |
Action |
Args |
2010-04-27 16:46:41 | terry.reedy | set | recipients:
+ terry.reedy, mark.dickinson, eric.smith, ezio.melotti, r.david.murray, hardkrash |
2010-04-27 16:46:41 | terry.reedy | set | messageid: <1272386801.03.0.504297015921.issue8060@psf.upfronthosting.co.za> |
2010-04-27 16:46:39 | terry.reedy | link | issue8060 messages |
2010-04-27 16:46:39 | terry.reedy | create | |
|