Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: cardinal numerals

by t0mas (Priest)
on Feb 02, 2001 at 14:21 UTC ( #55973=note: print w/ replies, xml ) Need Help??


in reply to cardinal numerals

I usually use Lingua::EN::Nums2Words for that type of job.

use strict; use Lingua::EN::Nums2Words; print &num2word(12345)."\n"; print &num2word_ordinal(12345)."\n";


/brother t0mas


Comment on Re: cardinal numerals
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (16)
As of 2015-07-07 17:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (92 votes), past polls