Commit 81a39c6a7a885bd08d3e4fd3a9736af9e438c6b7
1 parent
c42591d3
Exists in
master
and in
2 other branches
round to at most 2 decimal places
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
www/html/_profile.html
... | ... | @@ -12,7 +12,7 @@ |
12 | 12 | </h1> |
13 | 13 | |
14 | 14 | <p class="level-and-points">Nível {{profile.level}}. Você possui {{profile.points}} pontos.</p> |
15 | - <div id="game-bar"><div id="game-bar-inner" ng-style="{ 'width': profile.gamification_plugin_level_percent + '%' }">{{profile.gamification_plugin_level_percent}}%</div></div> | |
15 | + <div id="game-bar"><div id="game-bar-inner" ng-style="{ 'width': profile.gamification_plugin_level_percent + '%' }">{{profile.gamification_plugin_level_percent.toFixed(2)}}%</div></div> | |
16 | 16 | |
17 | 17 | <hr /> |
18 | 18 | ... | ... |