round 문제 수정

This commit is contained in:
2019-10-09 12:36:06 +09:00
parent 50d7fa684f
commit f667eb1500
5 changed files with 19 additions and 16 deletions
+4 -4
View File
@@ -46,10 +46,10 @@ $btCount = $tradeCount + $bidCount;
$unit = $turnterm * 60;
$amount = Util::round($amount / 10) * 10;
$cost = Util::round($cost / 10) * 10;
$topv = Util::round($topv / 10) * 10;
$value = Util::round($value / 10) * 10;
$amount = Util::round($amount, -1);
$cost = Util::round($cost, -1);
$topv = Util::round($topv, -1);
$value = Util::round($value, -1);
if ($term > 24) {
$term = 24;
}