Title: locale troubles with floating numbers
Type: behaviour Severity: normal
Components: Core Versions: Jython 2.7
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: fwierzbicki, natcl
Priority: normal Keywords:

Created on 2013-02-10.17:36:32 by natcl, last changed 2013-02-20.05:17:54 by fwierzbicki.

File name Uploaded Description Edit Remove
comma_period.png natcl, 2013-02-10.17:36:32 comma period
msg7659 (view) Author: Nathanaël Lécaudé (natcl) Date: 2013-02-10.17:36:32
I'm on OSX with my local set to French.
When I try to use floating point numbers they get converted with the comma separator.
>>> print 2.5

In the OS I tried changing the decimal separator to a period with no success. The only fix I found was to create an account in English.
msg7717 (view) Author: Nathanaël Lécaudé (natcl) Date: 2013-02-20.01:13:31
I installed the latest Beta and it resolved the issue.
msg7722 (view) Author: Frank Wierzbicki (fwierzbicki) Date: 2013-02-20.05:17:54
Thanks for letting us know Nathanaël! Closing.
Date User Action Args
2013-02-20 05:17:54fwierzbickisetstatus: open -> closed
resolution: fixed
messages: + msg7722
2013-02-20 01:13:31natclsetmessages: + msg7717
2013-02-20 00:26:24fwierzbickisetpriority: normal
nosy: + fwierzbicki
versions: + Jython 2.7, - 2.7a2
2013-02-10 17:36:32natclcreate