From f9756cf3efdfd342e2f206e5b19fb6c37357f90e Mon Sep 17 00:00:00 2001 From: Ben PC Date: Wed, 30 Mar 2022 10:27:36 +0200 Subject: [PATCH] Price Display fix --- views/search.ejs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/search.ejs b/views/search.ejs index 0fd95c3..c65a02a 100644 --- a/views/search.ejs +++ b/views/search.ejs @@ -29,7 +29,7 @@

<%=prod.name %>

-

<%=prod.price %>€

+

<%=prod.price.toFixed(2) %>

<% if (prod.rating) { prod.rating = Math.round(prod.rating/2)