Skip to content

Commit

Permalink
Added example for localized ordinalisation
Browse files Browse the repository at this point in the history
  • Loading branch information
doenietzomoeilijk committed Nov 12, 2015
1 parent 86694f3 commit 586674b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ echo Number::ordinalize(0); // "0th"
echo Number::ordinalize(1); // "1st"
echo Number::ordinalize(2); // "2nd"
echo Number::ordinalize(23); // "23rd"
echo Number::ordinalize(1002); // "1002nd"
echo Number::ordinalize(1002, 'nl'); // "1002e"
echo Number::ordinalize(-111); // "-111th"

```
Expand All @@ -88,7 +88,7 @@ echo Number::ordinal(1); // "st"
echo Number::ordinal(2); // "nd"
echo Number::ordinal(23); // "rd"
echo Number::ordinal(1002); // "nd"
echo Number::ordinal(-111); // "th"
echo Number::ordinal(-111, 'nl'); // "e"
```

**Roman numbers**
Expand Down

0 comments on commit 586674b

Please sign in to comment.