From: <bc...@wo...> - 2001-08-30 14:53:32
|
[Humbel Otmar] >Because I have to support an 'old' application using JPython 1.0.3, I'd >like to ask if someone knows how the %f formatting behaviour in Jython >was fixed. Revision 2.19 of PyString.java looks like a good candidate: """ StringFormatter.formatFloatDecimal(): Always use the US locale. This prevents the %f and %g formats from suddenly using commas as fraction separator in some countries. """ > http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jython/jython/org/python/core/PyString.java.diff?r1=2.18&r2=2.19 regards, finn |