diff --git a/views/account.ejs b/views/account.ejs index 040d9df..cfd9abb 100644 --- a/views/account.ejs +++ b/views/account.ejs @@ -38,7 +38,7 @@
Produktname: <%= product.name %>
-Stückpreis: <%= product.price %> €
+Stückpreis: <%= product.price.toFixed(2) %> €
Anzahl: <%= quantity %>
Gesamtpreis: <%= quantity * product.price %> €
+Gesamtpreis: <%= (quantity * product.price).toFixed(2) %> €
Verkäufer: <%= product.sellerName%>
Preis: <%= product.price %> € / Stück +
Preis: <%= product.price.toFixed(2) %> € / Stück
Kategorie: <%= category.name %>