mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #31487 -- Added precision argument to Round().
This commit is contained in:
committed by
Mariusz Felisiak
parent
61d5e57353
commit
2f13c476ab
@@ -222,6 +222,10 @@ Models
|
||||
whether the queryset contains the given object. This tries to perform the
|
||||
query in the simplest and fastest way possible.
|
||||
|
||||
* The new ``precision`` argument of the
|
||||
:class:`Round() <django.db.models.functions.Round>` database function allows
|
||||
specifying the number of decimal places after rounding.
|
||||
|
||||
Requests and Responses
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user