From 81a39c6a7a885bd08d3e4fd3a9736af9e438c6b7 Mon Sep 17 00:00:00 2001 From: Caio Almeida Date: Tue, 20 Oct 2015 09:58:25 -0300 Subject: [PATCH] round to at most 2 decimal places --- www/html/_profile.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/html/_profile.html b/www/html/_profile.html index 93b5f9f..699deb8 100644 --- a/www/html/_profile.html +++ b/www/html/_profile.html @@ -12,7 +12,7 @@

Nível {{profile.level}}. Você possui {{profile.points}} pontos.

-
{{profile.gamification_plugin_level_percent}}%
+
{{profile.gamification_plugin_level_percent.toFixed(2)}}%

-- libgit2 0.21.2