This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients eric.smith, ezio.melotti, hardkrash, mark.dickinson, r.david.murray, terry.reedy
Date 2010-04-27.16:46:39
SpamBayes Score 0.0024500836
Marked as misclassified No
Message-id <1272386801.03.0.504297015921.issue8060@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-04-27 16:46:41terry.reedysetrecipients: + terry.reedy, mark.dickinson, eric.smith, ezio.melotti, r.david.murray, hardkrash
2010-04-27 16:46:41terry.reedysetmessageid: <1272386801.03.0.504297015921.issue8060@psf.upfronthosting.co.za>
2010-04-27 16:46:39terry.reedylinkissue8060 messages
2010-04-27 16:46:39terry.reedycreate