release: publish saldo 0.1.0

This commit is contained in:
2026-04-21 21:17:36 +02:00
commit 6f5e704739
95 changed files with 9196 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
from __future__ import annotations
from decimal import Decimal
def currency(value: Decimal | float | int) -> str:
amount = Decimal(str(value or 0)).quantize(Decimal("0.01"))
formatted = f"{amount:,.2f}".replace(",", "_").replace(".", ",").replace("_", ".")
return f"{formatted}"