  with an argument of ``-1``.
  
  .. templatefilter:: force_escape
  
  ``force_escape``
  ----------------
  
 
</s> remove     if sign:
 </s> add     if sign and rounded_d: </s> remove     sign, digits, exponent = d.quantize(exp, ROUND_HALF_UP, Context(prec=prec)).as_tuple()
 </s> add     rounded_d = d.quantize(exp, ROUND_HALF_UP, Context(prec=prec))
    sign, digits, exponent = rounded_d.as_tuple()
.. versionchanged:: 3.1

    In older versions, a negative zero ``-0`` was returned for negative numbers
    which round to zero.

  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``
  ----------------
  
keep add keep keep keep keep keep
 Fixed #30761 -- Prevented floatformat filter from returning a negative zero. 
docs/ref/templates/builtins.txt