NAME
Lingua::RU::Money::XS - Perl extension for digit conversion to corresponding money sum in Russian.
SYNOPSIS
use Lingua::RU::Money::XS qw(rur2words);
print rur2words(123456789012345.67)
# outputs "сто двадцать три триллиона четыреста пятьдесят шесть миллиардов семьсот восемьдесят девять миллионов двенадцать тысяч триста сорок пять рублей 67 копеек"
DESCRIPTION
SUBROUTINES
- Lingua::RU::Money::XS::rur2words
-
rur2wordsreturns a given as number money sum in words, i.e. 5.16 converts to пять рублей 16 копеек. The target charset is UTF-8.Caution: Current implementation of
rur2wordsfollows the Perl philosophy - anyway the given argument will be casted todouble.
EXPORT
Nothing is exported by default.
SUPPORTED VERSIONS OF PERL
Please note that this module works only on Perl 5.16.0 and newer.
SEE ALSO
Github repo available at https://github.com/igormunkin/Lingua-RU-Money-XS
AUTHOR
Igor Munkin, <imun@cpan.org>
ACKNOWLEDGEMENTS
Mons Anderson - The original idea, rationale and motivation
BUGS
Feel free to report your bugs by mailing to <imun@cpan.org> or via https://github.com/igormunkin/Lingua-RU-Money-XS/issues
COPYRIGHT AND LICENSE
Copyright (C) 2017 by Igor Munkin
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.16.0 or, at your option, any later version of Perl 5 you may have available.