From d4ea3bc12ad27d69c987cb7aee5b3e1c6c119831 Mon Sep 17 00:00:00 2001 From: Kevin Trocolli Date: Mon, 21 Aug 2023 01:53:27 -0400 Subject: [PATCH] billing: float5 hotfix --- core/allnet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/allnet.py b/core/allnet.py index b229cba..2fd6db2 100644 --- a/core/allnet.py +++ b/core/allnet.py @@ -607,7 +607,7 @@ class float5: @classmethod def to_str(cls, f: float): - return f"%.{4 - int(math.log10(f))+1}f" % f + return f"%.{2 - int(math.log10(f))+1}f" % f class BillingInfo: def __init__(self, data: Dict) -> None: