From 8d4a9e3815726da270b27309724f7e8a0045a385 Mon Sep 17 00:00:00 2001 From: Alessio Comi Date: Wed, 24 Apr 2024 14:45:29 +0200 Subject: [PATCH] fix number at decimal --- frontend/src/components/LeaderBoard.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/LeaderBoard.vue b/frontend/src/components/LeaderBoard.vue index 0059931..c7c8900 100644 --- a/frontend/src/components/LeaderBoard.vue +++ b/frontend/src/components/LeaderBoard.vue @@ -44,12 +44,12 @@ onMounted(async () => { {{ key + 1 }} {{ user.user_name }} - {{ user.user_iq }} + {{ user.user_iq.toFixed(0)}} {{ user_rank.user_rank }} YOU - {{ user_rank.user_iq }} + {{ user_rank.user_iq.toFixed(0) }}