Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Ordinalize your numbers (like humanize)

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 .document
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.markdown
Octocat-spinner-32 Rakefile
Octocat-spinner-32 VERSION
Octocat-spinner-32 ordinalize.gemspec
README.markdown

Ordinali(z|s)e

From the creator who brought you the wildly popular 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"
Something went wrong with that request. Please try again.