mirror of
https://github.com/GOSTSec/sgminer
synced 2025-02-02 01:44:23 +00:00
miner.php format Best Share
This commit is contained in:
parent
8dc0935639
commit
f8a672f1de
@ -962,6 +962,10 @@ function fmt($section, $name, $value, $when, $alldata)
|
|||||||
if ($value != '')
|
if ($value != '')
|
||||||
$ret = number_format((float)$value, 2);
|
$ret = number_format((float)$value, 2);
|
||||||
break;
|
break;
|
||||||
|
case 'SUMMARY.Best Share':
|
||||||
|
if ($value != '')
|
||||||
|
$ret = number_format((float)$value);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($section == 'NOTIFY' && substr($name, 0, 1) == '*' && $value != '0')
|
if ($section == 'NOTIFY' && substr($name, 0, 1) == '*' && $value != '0')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user