SpokenNumberFormatter package updated

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

SpokenNumberFormatter package updated

Bob Jarvis
I've refactored my SpokenNumberFormatter package to make things a bit
cleaner, fix some bugs, and add support for more/bigger numbers in
both American and European format.  So now you can do

     SpokenNumberFormatter defaultToAmerican
     1234567890987654321 asSpoken

and get

     'one quintillion, two hundred thirty-four quadrillion, five
hundred sixty-seven trillion, eight hundred ninety billion, nine
hundred eighty-seven million, six hundred fifty-four thousand, three
hundred twenty-one'

and then you can do

     SpokenNumberFormatter defaultToEuropean
     1234567890987654321 asSpoken

and get

     'one trillion, two hundred thirty-four billiard, five hundred
sixty-seven billion, eight hundred ninety milliard, nine hundred
eighty-seven million, six hundred fifty-four thousand, three hundred
twenty-one'

So go to

     http://www.nls.net/mp/jarvis/Bob/DolphinGoodies.htm

and grab a fresh copy of SpokenNumberFormatter.zip.

Share and enjoy.