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

Write tests

This commit is contained in:
David 2022-05-06 11:35:51 +02:00
parent 8fc9d4d455
commit c3e85c3e5d
No known key found for this signature in database
GPG key ID: EC68B85E411F4753
5 changed files with 32 additions and 1 deletions

17
tests/Currencies/SEK.php Normal file
View 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;
}