Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Translates numbers to Polish words

Tested with Ruby 1.8.7 and 1.9.2.

gem install polish-number
require 'polish_number'

PolishNumber.translate(1234) #=> tysiąc dwieście trzydzieści cztery
PolishNumber.translate(34, :currency => :PLN) #=> trzydzieści cztery złote
PolishNumber.translate(12, :currency => :PLN) #=> dwanaście złotych
rake test
  • currently works for numbers 0-999999. Make it work with millions, billions, etc

  • optional noun pluralization

github.com/wpiekutowski/polish-number

polish-number is maintained by Wojciech Piekutowski.

About

polish-number has been renamed to polish_number and moved to https://github.com/amberbit/polish_number

Resources

Stars

16 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages