mirror of
https://github.com/djimboy/djimbo_template_aio3.git
synced 2026-07-25 09:44:29 +00:00
Update
This commit is contained in:
@@ -279,4 +279,8 @@ def format_rate(amount: Union[float, int], around: int = 2) -> str:
|
||||
if x % 3 == 0: out_amount.append(" ")
|
||||
out_amount.append(char)
|
||||
|
||||
return "".join(out_amount).strip() + "." + save_remains
|
||||
response = "".join(out_amount).strip() + "." + save_remains
|
||||
if response.endswith("."):
|
||||
response = response[:-1]
|
||||
|
||||
return response
|
||||
|
||||
Reference in New Issue
Block a user