@@ -157,8 +157,8 @@ |
||
157 | 157 | $n = floor($number); |
158 | 158 | $fraction = ($number - $n); |
159 | 159 | if ($fraction != 0) { |
160 | - $step = 1/$this->round; |
|
161 | - $decimal = (((int)($fraction/$step) + 1) * $step); |
|
160 | + $step = 1 / $this->round; |
|
161 | + $decimal = (((int) ($fraction / $step) + 1) * $step); |
|
162 | 162 | $number = $n + $decimal; |
163 | 163 | } |
164 | 164 | } |
@@ -160,8 +160,8 @@ |
||
160 | 160 | $n = floor($number); |
161 | 161 | $fraction = ($number - $n); |
162 | 162 | if ($fraction != 0) { |
163 | - $step = 1/$this->round; |
|
164 | - $decimal = (((int)($fraction/$step) + 1) * $step); |
|
163 | + $step = 1 / $this->round; |
|
164 | + $decimal = (((int) ($fraction / $step) + 1) * $step); |
|
165 | 165 | $number = $n + $decimal; |
166 | 166 | } |
167 | 167 | } |