#35095: Monetary values in Switzerland discrepancy
-------------------------------------+-------------------------------------
Reporter: Andrea Angelini | Owner: nobody
Type: Uncategorized | Status: closed
Component: | Version: 5.0
Internationalization |
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):
* cc: Claude Paroz (added)
* resolution: => invalid
* status: new => closed
* component: Documentation => Internationalization
Comment:
As far as I'm aware, both the documentation and comments match.
> # These are the separators for **non-monetary numbers**. For monetary
numbers,
> # the DECIMAL_SEPARATOR is a . (decimal point) and the
THOUSAND_SEPARATOR is a
> # ' (single quote).
> DECIMAL_SEPARATOR = ","
> THOUSAND_SEPARATOR = "\xa0" # non-breaking space
So for non-monetary numbers, a comma is used for decimal and a space for
thousand separators, exactly the same format is
[https://docs.djangoproject.com/en/5.0/topics/i18n/formatting
/#switzerland-german documented].
--
Ticket URL: <https://code.djangoproject.com/ticket/35095#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018ceacbe59e-45393ad9-ee11-43b3-8889-f1c5a64f9c51-000000%40eu-central-1.amazonses.com.