mirror of
https://github.com/django/django.git
synced 2025-08-31 15:57:45 +00:00
Fixed #30761 -- Prevented floatformat filter from returning a negative zero.
This commit is contained in:
parent
459de8dc29
commit
3cf907c20c
4 changed files with 21 additions and 2 deletions
|
@ -1722,6 +1722,11 @@ displayed. For example:
|
|||
Using ``floatformat`` with no argument is equivalent to using ``floatformat``
|
||||
with an argument of ``-1``.
|
||||
|
||||
.. versionchanged:: 3.1
|
||||
|
||||
In older versions, a negative zero ``-0`` was returned for negative numbers
|
||||
which round to zero.
|
||||
|
||||
.. templatefilter:: force_escape
|
||||
|
||||
``force_escape``
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue