Skip to content

Commit 04404d6

Browse files
authored
Update README.md
1 parent c3179be commit 04404d6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,7 @@ $usd->getCode(); // "USD"
300300
$usd->getNumCode(); // "840"
301301
$usd->getSymbol(); // "$"
302302
$usd->getPosition(); // 0 (Currency::POS_START)
303+
$usd->getDisplay(); // 10 (Currency::DISPLAY_SYMBOL)
303304
```
304305

305306
`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;
604605

605606
$money = new Money(1234);
606607
$money->toString(); // "$ 123.4"
607-
```
608+
```

0 commit comments

Comments
 (0)