NAME

Lingua::HU::Numbers - converts numbers into Hungarian language text form.

SYNOPSIS

use Lingua::HU::Numbers qw/num2hu/;

my $number = "42";
my $foo = num2hu($number);
print $foo;

prints

negyvenkettõ

DESCRIPTION

Lingua::HU::Numbers is a module converting numbers (like "42") into their Hungarian language representation ("negyvenkettõ").

Currently the only function that can be exported is num2hu.

Please see the README file for details of Hungarian grammar.

FUNCTIONS

  • num2hu

    This function is the only available one at the moment. It takes a scalar value which currently must be a real number smaller than -+10**66. The return value is a scalar expressing the Hungarian text version of the given number.

LIMITATIONS

The module cannot handle numbers larger than -+10**66 at the moment.

FUTURE PLANS

Exponential notation, num2hu_ordinal, fraction support will be added in the next few releases. Patches welcome.

The module aims to remain similar in structure to Lingua::EN::Numbers, so that those familiar with that module can use this one easily.

AUTHOR

Bálint Szilakszi, <szbalint at cpan.org>

BUGS

Please report any bugs or feature requests to bug-lingua-hu-numbers at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Lingua-HU-Numbers. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SEE ALSO

Lingua::EN::Numbers Lingua::Num2Word

ACKNOWLEDGEMENTS

Sean M. Burke for writing Lingua::EN::Numbers, which this module is modelled from.

COPYRIGHT & LICENSE

Copyright 2006 Bálint Szilakszi, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 139:

Non-ASCII character seen before =encoding in 'negyvenkettõ'. Assuming CP1252