mirror of
https://github.com/archtechx/money.git
synced 2025-12-15 04:24:04 +00:00
Initial commit
This commit is contained in:
commit
8847454577
33 changed files with 2435 additions and 0 deletions
18
src/Currencies/USD.php
Normal file
18
src/Currencies/USD.php
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace ArchTech\Money\Currencies;
|
||||
|
||||
use ArchTech\Money\Currency;
|
||||
|
||||
class USD extends Currency
|
||||
{
|
||||
protected string $code = 'USD';
|
||||
protected string $name = 'United States Dollar';
|
||||
protected float $rate = 1.0;
|
||||
protected int $mathDecimals = 2;
|
||||
protected int $displayDecimals = 2;
|
||||
protected int $rounding = 2;
|
||||
protected string $prefix = '$';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue