@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | |
38 | 38 | $this->base = $base; |
39 | 39 | |
40 | - $value = (string)$value; |
|
40 | + $value = (string) $value; |
|
41 | 41 | |
42 | 42 | if (strpos($value, 'i') !== false) { |
43 | 43 | $this->imaginary = true; |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | $this->precision = ($precision > strlen($this->getDecimalPart())) ? $precision : strlen($this->getDecimalPart()); |
65 | 65 | } else { |
66 | 66 | $checkVal = $this->getDecimalPart(); |
67 | - $checkVal = trim($checkVal,'0'); |
|
67 | + $checkVal = trim($checkVal, '0'); |
|
68 | 68 | |
69 | 69 | if (strlen($checkVal) > 0) { |
70 | 70 | $this->precision = (strlen($this->getDecimalPart()) > 10) ? strlen($this->getDecimalPart()) : 10; |