Details
-
Bug
-
Resolution: Won't Fix
-
Major
-
None
-
6.2
-
None
-
Unknown
-
N/A
-
N/A
-
Description
$mathtool.toDouble("2.1")
returns "2.1" when the English locale is set, but "2" when the French locale is used.
Sometimes it could be nice to have this conversion in the locale of the server, but sometimes the developer did not expect it and it creates a bug (see XWIKI-11343).
This function is locale dependent, and we have no way yo manually set the locale.
Attachments
Issue Links
- is related to
-
XWIKI-11343 Unable to get the XWiki Syntax Guide for XWiki Syntax 2.1 on certain locales
- Closed