From eb42993c2b61c00922f923f482a64b3297b7f5d8 Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Tue, 11 Jun 2013 16:32:53 +0200 Subject: [PATCH] formatting some numbers --- public/templates/mmcFE/global/header.tpl | 6 +++--- public/templates/mmcFE/statistics/pool/authenticated.tpl | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/public/templates/mmcFE/global/header.tpl b/public/templates/mmcFE/global/header.tpl index 19f1a788..126fde52 100644 --- a/public/templates/mmcFE/global/header.tpl +++ b/public/templates/mmcFE/global/header.tpl @@ -4,9 +4,9 @@
- - - + + +
  • LTC/usd: {$GLOBAL.price|default:"n/a"}    
  • Pool Hashrate: {$GLOBAL.hashrate / 1000} MH/s    
  • Pool Sharerate: {$GLOBAL.sharerate} Shares/s    
  • LTC/usd: {$GLOBAL.price|default:"n/a"|number_format:"4"}    
  • Pool Hashrate: {($GLOBAL.hashrate / 1000)|number_format:"3"} MH/s    
  • Pool Sharerate: {$GLOBAL.sharerate|number_format:"2"} Shares/s    
  • Pool Workers: {$GLOBAL.workers}    
  • diff --git a/public/templates/mmcFE/statistics/pool/authenticated.tpl b/public/templates/mmcFE/statistics/pool/authenticated.tpl index d0ce7803..f8530cd7 100644 --- a/public/templates/mmcFE/statistics/pool/authenticated.tpl +++ b/public/templates/mmcFE/statistics/pool/authenticated.tpl @@ -9,7 +9,7 @@ Pool Hash Rate - {$GLOBAL.hashrate / 1000} Mhash/s + {($GLOBAL.hashrate / 1000)|number_format:"3"} Mhash/s Current Workers Mining