Lingua::NOR::Num2Word - convert whole number to norwegian text. Output text is in utf-8 encoding.
use Lingua::NOR::Num2Word; my $no_num2word = Lingua::NOR::Num2Word->new(); my $text = $no_num2word->num2no_cardinal( 1000000 ); print $text || "Sorry, can't convert this number into norwegian.";
Number 2 word conversion in NOR.
This module is based on and inspired by Roman Vasicek module Lingua::CS::Num2Word. Lingua::NOR::Num2Word is a module for converting whole numbers into their norwegian textual representation. Converts numbers from 0 up to 999 999 999.
The following methods are provided by the Lingua::NOR::Num2Word class.
Create a singleton object.
my $no_num2word = Lingua::NOR::Num2Word->new();
Converts a whole number to norwegian language.
my $text = $no_num2word->num2no_cardinal( 1000000 );
* [16.06.2004] Version 0.011 released. * [13.06.2004] Version 0.01 released.
This is version 0.011
Kjetil Fikkan (kjetil@fikkan.org)
Maintenance PetaMem <info@petamem.com>
Copyright (c) 2004 Kjetil Fikkan This module is free software. It may be used, redistributed and/or modified under the same terms as Perl itself.
To install Lingua::NOR::Num2Word, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lingua::NOR::Num2Word
CPAN shell
perl -MCPAN -e shell install Lingua::NOR::Num2Word
For more information on module installation, please visit the detailed CPAN module installation guide.