Browse Source

miner.php format Best Share

Kano 12 years ago
parent
commit
f8a672f1de
1 changed files with 4 additions and 0 deletions
  1. 4 0
      miner.php

+ 4 - 0
miner.php

@@ -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')