sgzwiz / brython

Automatically exported from code.google.com/p/brython
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

'%g' number formatting not working yet #60

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. '%g'%(9**9**2)

What is the expected output? What do you see instead?
'1.96627e+77'

What version of the product are you using? On what operating system?
Brython version 1.0.20130126-094636

Please provide any additional information below.
%d and %f do appear to work as intended, just not %g

Original issue reported on code.google.com by p...@siliconpastures.com on 29 Jan 2013 at 5:33

GoogleCodeExporter commented 9 years ago

Original comment by pierre.q...@gmail.com on 2 Feb 2013 at 6:02