From a22dfa5a85fe309aabca11e28e9bb0f922d8988e Mon Sep 17 00:00:00 2001 From: cybrwshl Date: Sun, 18 Feb 2024 12:43:45 +0100 Subject: [PATCH] fixes also decimals --- rechnung.typ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rechnung.typ b/rechnung.typ index 4eaf836..1e0cf80 100644 --- a/rechnung.typ +++ b/rechnung.typ @@ -66,7 +66,7 @@ if i == 0 { return "0.00€" } - str(calc.round(i * 100)).slice(0,-2)+ "." + str(i * 100).slice(-2) + "€" + str(calc.round(i * 100)).slice(0,-2)+ "." + str(calc.round(i * 100)).slice(-2) + "€" } // DIN 5008 nach Faltmarke 1