Browse Source

Merge pull request #470 from kanoi/master

miner.php format Best Share
nfactor-troky
kanoi 11 years ago
parent
commit
4b5f56e18d
  1. 4
      miner.php

4
miner.php

@ -962,6 +962,10 @@ function fmt($section, $name, $value, $when, $alldata) @@ -962,6 +962,10 @@ function fmt($section, $name, $value, $when, $alldata)
if ($value != '')
$ret = number_format((float)$value, 2);
break;
case 'SUMMARY.Best Share':
if ($value != '')
$ret = number_format((float)$value);
break;
}
if ($section == 'NOTIFY' && substr($name, 0, 1) == '*' && $value != '0')

Loading…
Cancel
Save