Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

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?

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (2)
As of 2024-04-20 10:02 GMT
Find Nodes?
    Voting Booth?

    No recent polls found