From 261a3ca0b8be6e3ac025958aadc9dc7428180397 Mon Sep 17 00:00:00 2001 From: cybrwshl Date: Sun, 18 Feb 2024 12:40:35 +0100 Subject: [PATCH] adds multiplication bug workaround (closes #3) --- rechnung.typ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rechnung.typ b/rechnung.typ index 702e39a..4eaf836 100644 --- a/rechnung.typ +++ b/rechnung.typ @@ -66,7 +66,7 @@ if i == 0 { return "0.00€" } - str(i * 100).slice(0,-2)+ "." + str(i * 100).slice(-2) + " €" + str(calc.round(i * 100)).slice(0,-2)+ "." + str(i * 100).slice(-2) + "€" } // DIN 5008 nach Faltmarke 1