We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3179be commit 04404d6Copy full SHA for 04404d6
README.md
@@ -300,6 +300,7 @@ $usd->getCode(); // "USD"
300
$usd->getNumCode(); // "840"
301
$usd->getSymbol(); // "$"
302
$usd->getPosition(); // 0 (Currency::POS_START)
303
+$usd->getDisplay(); // 10 (Currency::DISPLAY_SYMBOL)
304
```
305
306
`getSymbol()` takes an index as first parameter only if there are more than one symbol for the currency.
@@ -604,4 +605,4 @@ use PostScripton\Money\Money;
604
605
606
$money = new Money(1234);
607
$money->toString(); // "$ 123.4"
-```
608
+```
0 commit comments