mirror of
https://github.com/archtechx/money.git
synced 2025-12-12 11:24:03 +00:00
change default rate to a float value
This commit is contained in:
parent
e1ae6f3fcb
commit
9ea102297d
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ class Currency implements Arrayable, JsonSerializable
|
|||
) {
|
||||
$this->code = $code ?? $this->code ?? '';
|
||||
$this->name = $name ?? $this->name ?? '';
|
||||
$this->rate = $rate ?? $this->rate ?? 1;
|
||||
$this->rate = $rate ?? $this->rate ?? 1.0;
|
||||
$this->prefix = $prefix ?? $this->prefix ?? '';
|
||||
$this->suffix = $suffix ?? $this->suffix ?? '';
|
||||
$this->mathDecimals = $mathDecimals ?? $this->mathDecimals ?? 2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue