Nov. 26, 2011
1:17 a.m.
Christian Iversen <ci@sikkerhed.org> added the comment: Terry, the %g format always trims trailing zeroes, so you'd have to try with a number that doesn't end in zero. I had to make a re-implementation of format for javascript: http://paste.pocoo.org/show/513078/ If you look at the %g case, you can clearly see how much more complex and different it is, not that that itself indicates a bug. But it is different for sure :) ---------- _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue13433> _______________________________________