We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1ae6f3 commit 9ea1022Copy full SHA for 9ea1022
src/Currency.php
@@ -60,7 +60,7 @@ public function __construct(
60
) {
61
$this->code = $code ?? $this->code ?? '';
62
$this->name = $name ?? $this->name ?? '';
63
- $this->rate = $rate ?? $this->rate ?? 1;
+ $this->rate = $rate ?? $this->rate ?? 1.0;
64
$this->prefix = $prefix ?? $this->prefix ?? '';
65
$this->suffix = $suffix ?? $this->suffix ?? '';
66
$this->mathDecimals = $mathDecimals ?? $this->mathDecimals ?? 2;
0 commit comments