mirror of
https://github.com/archtechx/money.git
synced 2025-12-17 21:24:03 +00:00
Add setting for how to handle trailing decimal zeros
This commit is contained in:
parent
b7093f4f05
commit
8fc9d4d455
3 changed files with 20 additions and 6 deletions
|
|
@ -15,4 +15,5 @@ class USD extends Currency
|
|||
protected int $displayDecimals = 2;
|
||||
protected int $rounding = 2;
|
||||
protected string $prefix = '$';
|
||||
protected bool $deleteTrailingDecimalZeros = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue