Issue222787
Created on 2000-11-18.18:44:56 by bckfnn, last changed 2000-11-18.21:42:19 by bckfnn.
msg5 (view) |
Author: Finn Bock (bckfnn) |
Date: 2000-11-18.18:44:56 |
|
This was originally posted by Udo Flögel.
JPython 1.1alpha3 on java1.2.1
Copyright 1997-1999 Corporation for National Research Initiatives
>>> import java
>>> java.util.Locale.setDefault(java.util.Locale("da", ""))
>>> print "%e" % -1e-6
-1,000000.e-006
>>>
The use of comma as decimal point is correct for the danish locale.
The dot before the 'e' is a bug.
|
msg6 (view) |
Author: Finn Bock (bckfnn) |
Date: 2000-11-18.21:42:19 |
|
Fixed in PyString.java by always using the US locale for the java.text.NumberFormat class.
|
|
Date |
User |
Action |
Args |
2000-11-18 18:44:56 | bckfnn | create | |
|