From 48eb9a9ee909fbb6889d3fa585b64c5116e5c917 Mon Sep 17 00:00:00 2001 From: kanoi Date: Thu, 17 Sep 2015 02:20:45 +1000 Subject: [PATCH] php - set shift rewarded format to %.5f --- pool/page_shifts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pool/page_shifts.php b/pool/page_shifts.php index 598a71a4..2b330647 100644 --- a/pool/page_shifts.php +++ b/pool/page_shifts.php @@ -81,7 +81,7 @@ function doshifts($data, $user) $pg .= ''.$ans['rewards:'.$i].''; $ppsr = (float)$ans['ppsrewarded:'.$i]; if ($ppsr > 0) - $ppsd = sprintf('%.3e', $ppsr); + $ppsd = sprintf('%.5f', $ppsr); else $ppsd = '0'; $pg .= "$ppsd";