summaryrefslogtreecommitdiff
path: root/django/utils/numberformat.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/utils/numberformat.py')
-rw-r--r--django/utils/numberformat.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/django/utils/numberformat.py b/django/utils/numberformat.py
index a1ecd1bd0d..2b5a138ed5 100644
--- a/django/utils/numberformat.py
+++ b/django/utils/numberformat.py
@@ -41,7 +41,6 @@ def format(
if isinstance(number, float) and "e" in str(number).lower():
number = Decimal(str(number))
if isinstance(number, Decimal):
-
if decimal_pos is not None:
# If the provided number is too small to affect any of the visible
# decimal places, consider it equal to '0'.