X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=contrib%2Fchash%2Fchash.php;h=83ddd2f320d26006c4d4a472a7e975ae09359c02;hp=b3bd3e63598970215d77fbdead54df8032935194;hb=0fd3ea3be14003984aafe320876f479660b4f2de;hpb=0ac9ad7fc62b53e92011d523f6823f87399ba294 diff --git a/contrib/chash/chash.php b/contrib/chash/chash.php index b3bd3e63..83ddd2f3 100644 --- a/contrib/chash/chash.php +++ b/contrib/chash/chash.php @@ -353,7 +353,7 @@ while (TRUE) { // Only every second if ($testTime >= 1) { // Display hash rate - print ('hashrate=' . $hashrate . ' hashes/sec,iterSecond=' . $iterSecond . ' iterations/sec' . PHP_EOL); + print ('hashrate=' . round($hashrate) . ' hashes/sec,iterSecond=' . $iterSecond . ' iterations/sec' . PHP_EOL); // Reset timer $timeDisplay = microtime(TRUE);