public
Description: Converts numbers, currency and other units to Polish, English, German
Homepage: http://trix.pl
Clone URL: git://github.com/tomaszmazur/verbal.git
Click here to lend your support to: verbal and make a donation at www.pledgie.com !
Tomasz Mazur (author)
Thu Sep 04 08:07:37 -0700 2008
commit  37a2868ebb94db9eccf6fa0b3fefa8f9d12143b4
tree    d8d9aa641cb03f203e88b316a084a245791548e7
parent  2ad0f1bbd5b0ff1290992b5c79aaa13dfd780b13
verbal /
name age message
file History.txt Thu Sep 04 08:07:37 -0700 2008 support for German [Tomasz Mazur]
file Manifest.txt Mon Sep 01 22:09:23 -0700 2008 Put english tests in their own specs file. Name... [Dennis Theisen]
file README.txt Fri Aug 01 03:20:21 -0700 2008 tests for conversion to english words, one bug ... [tomaszmazur]
file Rakefile Mon Sep 01 22:40:27 -0700 2008 Added rake task for running specs (also made it... [Dennis Theisen]
directory bin/ Fri Aug 01 03:20:21 -0700 2008 tests for conversion to english words, one bug ... [tomaszmazur]
directory lib/ Thu Sep 04 08:07:37 -0700 2008 support for German [Tomasz Mazur]
directory spec/ Mon Sep 01 22:41:43 -0700 2008 minor indenting fix [Dennis Theisen]
file verbal.gemspec Mon Sep 01 22:09:23 -0700 2008 Put english tests in their own specs file. Name... [Dennis Theisen]
README.txt
= verbal

  http://trix.lighthouseapp.com/projects/14763-verbal

== DESCRIPTION:

  Converts numbers to words (its text presentation)
  Currently supported languages are:

  - English *
  - Polish

  NOTE: It's American English numbering system
  http://www.mazes.com/AmericanNumberingSystem.html

== FEATURES/PROBLEMS:



== SYNOPSIS:

1) NUMBERS:

  Verbal::Polish::Numbers.to_words(123_456_789)
  => "sto dwadzieścia trzy miliony czterysta pięćdziesiąt sześć tysiecy siedemset osiemdziesiąt dziewięć"

  Verbal::English::Numbers.to_words(123_456_789)
  => "one hundred twenty-three million four hundred fifty-six thousand seven hundred and eighty-nine"

  2) CURRENCIES:

  Verbal::Polish::Currency.to_words(123_456_789_00, 'PLN')
  => "sto dwadzieścia trzy miliony czterysta pięćdziesiąt sześć tysiecy siedemset osiemdziesiąt dziewięć złotych z
  ero groszy"

  No Support for Verbal::English::Currency yet... Anybody?

== REQUIREMENTS:



== INSTALL:

  sudo gem install verbal

  or

  script/plugin install git://github.com/tomaszmazur/verbal.git

== LICENSE:

(The MIT License)

Copyright (c) 2008 Tomasz Mazur

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.