Skip to content

gabrie30/currentize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Currentize

Inputs a number and outputs to currency format.

Installation

Add this line to your application's Gemfile:

gem 'Currentize'

And then execute:

$ bundle

Or install it yourself as:

$ gem install Currentize

Usage

Currentize.format(1000, "£")
#=> £1,000

# Will default to $
Currentize.format(1000)
#=> $1,000

Why?

Just for fun

About

A gem to transform numbers to currency format

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

 
 
 

Contributors