From 3986a24d86c53b285213ed41559fe3aa68310255 Mon Sep 17 00:00:00 2001 From: iAmShorty Date: Wed, 2 Apr 2014 15:56:26 +0200 Subject: [PATCH] [FIX] number format in block overview --- .../statistics/blocks/block_overview_time.tpl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/public/templates/bootstrap/statistics/blocks/block_overview_time.tpl b/public/templates/bootstrap/statistics/blocks/block_overview_time.tpl index fb95cd01..94ac0d92 100644 --- a/public/templates/bootstrap/statistics/blocks/block_overview_time.tpl +++ b/public/templates/bootstrap/statistics/blocks/block_overview_time.tpl @@ -45,7 +45,7 @@ 0.00% {/if} - {$LASTBLOCKSBYTIME.TotalAmount|number_format} + {$LASTBLOCKSBYTIME.TotalAmount|number_format:"2"} {($LASTBLOCKSBYTIME.Total|default:"0.00" / ($FIRSTBLOCKFOUND / $COINGENTIME) * 100)|number_format:"2"}% @@ -70,7 +70,7 @@ 0.00% {/if} - {$LASTBLOCKSBYTIME.1HourAmount|number_format} + {$LASTBLOCKSBYTIME.1HourAmount|number_format:"2"} {($LASTBLOCKSBYTIME.1HourTotal|default:"0.00" / (3600 / $COINGENTIME) * 100)|number_format:"2"}% @@ -95,7 +95,7 @@ 0.00% {/if} - {$LASTBLOCKSBYTIME.24HourAmount|number_format} + {$LASTBLOCKSBYTIME.24HourAmount|number_format:"2"} {($LASTBLOCKSBYTIME.24HourTotal|default:"0.00" / (86400 / $COINGENTIME) * 100)|number_format:"2"}% @@ -120,7 +120,7 @@ 0.00% {/if} - {$LASTBLOCKSBYTIME.7DaysAmount} + {$LASTBLOCKSBYTIME.7DaysAmount|number_format:"2"} {($LASTBLOCKSBYTIME.7DaysTotal|default:"0.00" / (604800 / $COINGENTIME) * 100)|number_format:"2"}% @@ -145,7 +145,7 @@ 0.00% {/if} - {$LASTBLOCKSBYTIME.4WeeksAmount|number_format} + {$LASTBLOCKSBYTIME.4WeeksAmount|number_format:"2"} {($LASTBLOCKSBYTIME.4WeeksTotal|default:"0.00" / (2419200 / $COINGENTIME) * 100)|number_format:"2"}% @@ -170,7 +170,7 @@ 0.00% {/if} - {$LASTBLOCKSBYTIME.12MonthAmount|number_format} + {$LASTBLOCKSBYTIME.12MonthAmount|number_format:"2"} {($LASTBLOCKSBYTIME.12MonthTotal|default:"0.00" / (29030400 / $COINGENTIME) * 100)|number_format:"2"}%