On Wed, Jul 16, 2008 at 10:07 AM, Mark Dickinson <[EMAIL PROTECTED]> wrote: > On Wed, Jul 16, 2008 at 3:35 PM, Eric Smith > <[EMAIL PROTECTED]> wrote: >> Does anyone know why 'F' is the same as 'f'? Wouldn't it make more sense to >> either drop it, or make it convert the exponent to upper case > > What exponent? Isn't the point of 'f' formatting that there is no exponent?
There's no exponent for small-magnitude numbers, but still an exponent for large-magnitude numbers: >>> '%f' % (10**100) '1e+100' -- Daniel Stutzbach, Ph.D. President, Stutzbach Enterprises LLC _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com