README
ember-ordinal-indicators
Helper for obtaining the ordinal indicator of a number.
It one of the following suffixes: st, nd, rd, or th.
Installation
npm install ember-ordinal-indicators --save-dev
with ember-cli:
ember install ember-ordinal-indicators
Usage
{{ordinal-for <number>}}
Examples:
{{ordinal-for 1}} {{! => st}}
{{ordinal-for 2}} {{! => nd}}
{{ordinal-for 3}} {{! => rd}}
Development
git clone https://github.com/rsocci/ember-ordinal-indicators.gitnpm install
Running Tests
ember testember test --server
For more information on using ember-cli, visit http://ember-cli.com/.