[Python-Dev] PEP 3101: floats format 'f' and 'F' (original) (raw)
Mark Dickinson dickinsm at gmail.com
Wed Jul 16 17:17:26 CEST 2008
- Previous message: [Python-Dev] PEP 3101: floats format 'f' and 'F'
- Next message: [Python-Dev] PEP 3101: floats format 'f' and 'F'
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, Jul 16, 2008 at 4:14 PM, Daniel Stutzbach <daniel at stutzbachenterprises.com> wrote:
There's no exponent for small-magnitude numbers, but still an exponent for large-magnitude numbers:
'%f' % (10**100) '1e+100'
So there is! Thanks for the correction.
Mark
- Previous message: [Python-Dev] PEP 3101: floats format 'f' and 'F'
- Next message: [Python-Dev] PEP 3101: floats format 'f' and 'F'
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]