2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-13 10:35:40 +00:00

Cleanup format_number (#8529)

-  Removed unused line
This commit is contained in:
Oliver
2024-11-20 12:26:13 +11:00
committed by GitHub
parent ad6f8596eb
commit 41a9b6897a

View File

@ -426,8 +426,6 @@ def format_number(
# Normalize the number (remove trailing zeroes)
number = number.normalize()
decimal_places
if decimal_places is not None:
try:
decimal_places = int(decimal_places)