|
|
@ -82,10 +82,15 @@ function doworker($data, $user) |
|
|
|
else |
|
|
|
else |
|
|
|
{ |
|
|
|
{ |
|
|
|
$uhr /= 10000000; |
|
|
|
$uhr /= 10000000; |
|
|
|
|
|
|
|
if ($uhr < 0.01) |
|
|
|
|
|
|
|
$uhr = '0GHs'; |
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
{ |
|
|
|
if ($uhr < 100000) |
|
|
|
if ($uhr < 100000) |
|
|
|
$uhr = (round($uhr)/100).'GHs'; |
|
|
|
$uhr = number_format(round($uhr)/100,2).'GHs'; |
|
|
|
else |
|
|
|
else |
|
|
|
$uhr = (round($uhr/1000)/100).'THs'; |
|
|
|
$uhr = number_format(round($uhr/1000)/100,2).'THs'; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
$pg .= "<td class=dr>$uhr</td>"; |
|
|
|
$pg .= "<td class=dr>$uhr</td>"; |
|
|
|
$pg .= "</tr>\n"; |
|
|
|
$pg .= "</tr>\n"; |
|
|
|