Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

New Lingua:*:Num2Word modules

by ph0enix (Friar)
on Jul 15, 2002 at 14:57 UTC ( [id://181800]=perlnews: print w/replies, xml ) Need Help??

I'd like to inform you about the new modules in the Lingua:: hierarchy.

Lingua::CS::Num2Word

  • number to text convertor for czech. Converts whole numbers from 0 up to 999 999 999

Lingua::DE::Num2Word

  • number to text convertor for german. Converts whole numbers from 0 up to 999 999 999

Lingua::Num2Word

  • wrapper for number to text conversion modules of various languages in the Lingua:: hierarchy. Currently supported languages/modules are:
    • af - Lingua::AF::Numbers
    • cs - Lingua::CS::Num2Word
    • de - Lingua::DE::Num2Word
    • en - Lingua::EN::Numbers
    • es - Lingua::ES::Numeros
    • fr - Lingua::FR::Numbers
    • id - Lingua::ID::Nums2Words
    • ja - Lingua::JA::Number
    • pt - Lingua::PT::Nums2Words

Replies are listed 'Best First'.
Re: New Lingua:*:Num2Word modules
by cjf (Parson) on Jul 16, 2002 at 07:46 UTC

    Here are the links to the main page of each module (rather than directly to the tarballs):

    Definately cool, if you run the following example from the docs:

    use Lingua::Num2Word; my $numbers = Lingua::Num2Word->new; my $text = $numbers->cardinal('en', 123); print $text || "Can't convert number\n";

    It'll print out "One-Hundred Twenty-Three." I like it :).

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-03-29 11:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found