Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Number::Spell

by halley (Prior)
on Feb 05, 2004 at 16:51 UTC ( [id://326799]=note: print w/replies, xml ) Need Help??


in reply to Number::Spell

I have some code for this, and I'd like to compare it to yours tonight when I get home. I should also adopt the stringy method to avoid the platform-specific integer issues.

It appears your version doesn't put commas between groups, e.g., "eight thousand, five hundred ninety seven".

You also only spell cardinal numbers. How about ordinal numbers, e.g., "six thousand, twenty-first"?

--
[ e d @ h a l l e y . c c ]

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://326799]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-03-29 02:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found