1
0
Fork 0
mirror of https://github.com/archtechx/money.git synced 2025-12-13 03:34:04 +00:00

rename deleteTrailingDecimalZeros to trimTrailingDecimalZeros

This commit is contained in:
David 2022-05-16 08:40:43 +02:00
parent dadab9553f
commit 9547070193
No known key found for this signature in database
GPG key ID: EC68B85E411F4753
7 changed files with 12 additions and 12 deletions

View file

@ -15,5 +15,5 @@ class CZK extends Currency
protected string $thousandsSeparator = '.';
protected int $rounding = 2;
protected string $suffix = ' Kč';
protected bool $deleteTrailingDecimalZeros = false;
protected bool $trimTrailingDecimalZeros = false;
}

View file

@ -13,5 +13,5 @@ class EUR extends Currency
protected int $displayDecimals = 2;
protected int $rounding = 0;
protected string $suffix = ' €';
protected bool $deleteTrailingDecimalZeros = false;
protected bool $trimTrailingDecimalZeros = false;
}

View file

@ -13,5 +13,5 @@ class SEK extends Currency
protected int $displayDecimals = 2;
protected int $rounding = 0;
protected string $suffix = ' kr';
protected bool $deleteTrailingDecimalZeros = true;
protected bool $trimTrailingDecimalZeros = true;
}

View file

@ -28,7 +28,7 @@ test('currencies can be serialized to JSON', function () {
'rounding' => 2,
'decimalSeparator' => ',',
'thousandsSeparator' => '.',
'deleteTrailingDecimalZeros' => false,
'trimTrailingDecimalZeros' => false,
]);
});