1
0
Fork 0
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:
David 2022-05-06 11:35:41 +02:00
parent b7093f4f05
commit 8fc9d4d455
No known key found for this signature in database
GPG key ID: EC68B85E411F4753
3 changed files with 20 additions and 6 deletions

View file

@ -15,4 +15,5 @@ class USD extends Currency
protected int $displayDecimals = 2;
protected int $rounding = 2;
protected string $prefix = '$';
protected bool $deleteTrailingDecimalZeros = false;
}