Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
XP is just a number
 
PerlMonks  

Please sugest library/module for printing numerals

by fisher (Priest)
on Jan 30, 2012 at 21:30 UTC ( #950840=perlquestion: print w/ replies, xml ) Need Help??
fisher has asked for the wisdom of the Perl Monks concerning the following question:

I have an integer and want it to be printed in words like, you know, 1025 == "one thousand twenty five". But! In german language =) And, if possible, it should know the difference between ordinal numbers (first, second, third) and cardinal (one, two, three). I know, someone already did it =)

Comment on Please sugest library/module for printing numerals
Re: Please sugest library/module
by toolic (Chancellor) on Jan 30, 2012 at 21:50 UTC
      Thank you, Lingua::DE::Num2Word::num2de_cardinal works just fine, found it @cpan. Strange enough, there is no correspondent module package in debian.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (12)
As of 2014-04-18 17:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (471 votes), past polls