Beefy Boxes and Bandwidth Generously Provided by pair Networks
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

Replies are listed 'Best First'.
Re: Please sugest library/module
by toolic (Bishop) 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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2016-12-03 11:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (55 votes). Check out past polls.