mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 19:46:46 +00:00
parent
ad6f8596eb
commit
41a9b6897a
@ -426,8 +426,6 @@ def format_number(
|
|||||||
# Normalize the number (remove trailing zeroes)
|
# Normalize the number (remove trailing zeroes)
|
||||||
number = number.normalize()
|
number = number.normalize()
|
||||||
|
|
||||||
decimal_places
|
|
||||||
|
|
||||||
if decimal_places is not None:
|
if decimal_places is not None:
|
||||||
try:
|
try:
|
||||||
decimal_places = int(decimal_places)
|
decimal_places = int(decimal_places)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user