#30761: The floatformat filter sometimes returns "-0" instead of "0".
-------------------------------------+-------------------------------------
Reporter: Sky Christensen | Owner: Sky
| Christensen
Type: Bug | Status: closed
Component: Template system | Version: 2.2
Severity: Normal | Resolution: wontfix
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by felixxm):
* status: assigned => closed
* resolution: => wontfix
Comment:
I don't think it's an issue, this behavior is consistent with builtin
`round()` and `-0` exists in floating-point arithmetic.
--
Ticket URL: <https://code.djangoproject.com/ticket/30761#comment:2>
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/072.71bc39e1fe3cf59aff02f6b494c510b8%40djangoproject.com.