mirror of
https://github.com/archtechx/money.git
synced 2025-12-13 03:34:04 +00:00
Write tests
This commit is contained in:
parent
8fc9d4d455
commit
c3e85c3e5d
5 changed files with 32 additions and 1 deletions
17
tests/Currencies/SEK.php
Normal file
17
tests/Currencies/SEK.php
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<?php
|
||||
|
||||
namespace ArchTech\Money\Tests\Currencies;
|
||||
|
||||
use ArchTech\Money\Currency;
|
||||
|
||||
class SEK extends Currency
|
||||
{
|
||||
protected string $code = 'SEK';
|
||||
protected string $name = 'Swedish crown';
|
||||
protected float $rate = 9.94;
|
||||
protected int $mathDecimals = 4;
|
||||
protected int $displayDecimals = 2;
|
||||
protected int $rounding = 0;
|
||||
protected string $suffix = ' kr';
|
||||
protected bool $deleteTrailingDecimalZeros = true;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue