round(something, 0); 을 Util::round(somehing); 으로 변경.
This commit is contained in:
+3
-3
@@ -16,9 +16,9 @@ if($command < 0) { $command = 0; }
|
||||
if($double < 0) { $double = 0; }
|
||||
if($third < 0) { $third = 0; }
|
||||
if($fourth < 0) { $fourth = 0; }
|
||||
$double = round($double, 0);
|
||||
$third = round($third, 0);
|
||||
$fourth = round($fourth, 0);
|
||||
$double = Util::round($double);
|
||||
$third = Util::round($third);
|
||||
$fourth = Util::round($fourth);
|
||||
if($command > 99) { $command = 0; }
|
||||
if($double > 9999) { $double = 9999; }
|
||||
if($third > 9999) { $third = 9999; }
|
||||
|
||||
Reference in New Issue
Block a user