fixes also decimals

This commit is contained in:
cybrwshl 2024-02-18 12:43:45 +01:00
parent 261a3ca0b8
commit a22dfa5a85

View file

@ -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