https://github.com/radar/ordinalize
Ordinalize your numbers (like humanize)
https://github.com/radar/ordinalize
Last synced: 2 months ago
JSON representation
Ordinalize your numbers (like humanize)
- Host: GitHub
- URL: https://github.com/radar/ordinalize
- Owner: radar
- License: mit
- Created: 2009-12-26T09:16:45.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2015-07-02T15:16:49.000Z (almost 10 years ago)
- Last Synced: 2024-10-09T23:08:22.538Z (7 months ago)
- Language: Ruby
- Homepage: http://ryanbigg.com
- Size: 147 KB
- Stars: 16
- Watchers: 3
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.markdown
- License: LICENSE.md
Awesome Lists containing this project
README
# Ordinali(z|s)e
From the creator who brought you the wildly popular [humanize](http://github.com/radar/humanize), comes ordinali(s|z)e!
# Install
sudo gem install ordinalize
# Usage>> 1.ordinalize
=> "first"
>> 1024.ordinalize
=> "one thousand and twenty-fourth"
>> 1.ordinalise
=> "first"