0
+ http://trix.lighthouseapp.com/projects/14763-verbal
0
+ Converts numbers to words (its text presentation)
0
+ Currently supported languages are:
0
+ NOTE: It's American English numbering system
0
+ http://www.mazes.com/AmericanNumberingSystem.html
0
+ Verbal::Polish::Numbers.to_words(123_456_789)
0
+ => "sto dwadzieścia trzy miliony czterysta pięćdziesiąt sześć tysiecy siedemset osiemdziesiąt dziewięć"
0
+ Verbal::English::Numbers.to_words(123_456_789)
0
+ => "one hundred twenty-three million four hundred fifty-six thousand seven hundred and eighty-nine"
0
+ Verbal::Polish::Currency.to_words(123_456_789_00, 'PLN')
0
+ => "sto dwadzieścia trzy miliony czterysta pięćdziesiąt sześć tysiecy siedemset osiemdziesiąt dziewięć złotych zero groszy"
0
+ No Support for Verbal::English::Currency yet... Anybody?
0
-
script/plugin install git://github.com/tomaszmazur/verbal.git0
+
sudo gem install verbal0
+
script/plugin install git://github.com/tomaszmazur/verbal.git0
-Verbal::Polish::Numbers.to_words(123_456_789)
0
-=> "sto dwadzieścia trzy miliony czterysta pięćdziesiąt sześć tysiecy siedemset osiemdziesiąt dziewięć"
0
-NOTE: It's American English numbering system
0
-http://www.mazes.com/AmericanNumberingSystem.html
0
-Verbal::English::Numbers.to_words(123_456_789)
0
-=> "one hundred twenty-three million four hundred fifty-six thousand seven hundred and eighty-nine"
0
+Copyright (c) 2008 Tomasz Mazur
0
+Permission is hereby granted, free of charge, to any person obtaining
0
+a copy of this software and associated documentation files (the
0
+'Software'), to deal in the Software without restriction, including
0
+without limitation the rights to use, copy, modify, merge, publish,
0
+distribute, sublicense, and/or sell copies of the Software, and to
0
+permit persons to whom the Software is furnished to do so, subject to
0
+the following conditions:
0
-Verbal::Polish::Currency.to_words(123_456_789_00, 'PLN')
0
-=> "sto dwadzieścia trzy miliony czterysta pięćdziesiąt sześć tysiecy siedemset osiemdziesiąt dziewięć złotych zero groszy"
0
+The above copyright notice and this permission notice shall be
0
+included in all copies or substantial portions of the Software.
0
-No Support for Verbal::English::Currency yet... Anybody?
0
\ No newline at end of file
0
+THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
0
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
0
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
0
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
0
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
0
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
0
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Comments
No one has commented yet.