#8594: allow printing of floating point numbers with locale-dependent decimal
separators
------------------------------+---------------------------------------------
Reporter: ddrake | Owner: was
Type: enhancement | Status: new
Priority: major | Milestone:
Component: user interface | Keywords: i18n
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------------+---------------------------------------------
Some people would like floats to print with a comma for the decimal
separator: 3,14159 for pi and so on. We should make this possible. Ideally
Sage would check the user's locale or have a command to set the default
printing style. Python seems to have a bit of support for this, maybe:
http://docs.python.org/library/string.html#format-specification-mini-
language
This ticket is prompted by http://groups.google.com/group/sage-
support/browse_thread/thread/f2f2277a407b7d21
More info: http://en.wikipedia.org/wiki/Decimal_separator
Since commas and dots are a very important part of Python syntax, I'm not
sure we should try to change *input* of floating point numbers, but I
think it's reasonable to have this support for output.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8594>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.