Lingua::NO::Num2Word - convert whole number to norwegian text. Output text is in ISO-8859-1 encoding.


Lingua-NO-Num2Word documentation  | view source Contained in the Lingua-NO-Num2Word distribution.

Index


NAME

Top

Lingua::NO::Num2Word - convert whole number to norwegian text. Output text is in ISO-8859-1 encoding.

SYNOPSIS

Top

 use Lingua::NO::Num2Word;

 my $no_num2word = Lingua::NO::Num2Word->new(); 

 my $text = $no_num2word->num2no_cardinal( 1000000 );

 print $text || "Sorry, can't convert this number into norwegian.";

DESCRIPTION

Top

This module is based on and inspired by Roman Vasicek module Lingua::CS::Num2Word. Lingua::NO::Num2Word is a module for converting whole numbers into their norwegian textual representation. Converts numbers from 0 up to 999 999 999.

METHODS

Top

The following methods are provided by the Lingua::NO::Num2Word class.

new

Create a singleton object.

 my $no_num2word = Lingua::NO::Num2Word->new();

num2no_cardinal

Converts a whole number to norwegian language.

  my $text = $no_num2word->num2no_cardinal( 1000000 );

HISTORY

Top

 * [16.06.2004] Version 0.011 released. 
 * [13.06.2004] Version 0.01 released.

VERSION

Top

This is version 0.011

AUTHOR

Top

Kjetil Fikkan (kjetil@fikkan.org)

COPYRIGHT

Top


Lingua-NO-Num2Word documentation  | view source Contained in the Lingua-NO-Num2Word distribution.