NAME
Lingua::SV::Numbers - Convert numbers into Swedish words.
VERSION
Version 0.01
SYNOPSIS
use Lingua::SV::Numbers qw/num2sv/;
print num2sv( 99 ) . " röda luftballonger\n"; #-> nittionio röda luftballonger
print num2sv( 65536 ) . " bitar\n"; #-> sextiofemtusenfemhundratrettiosex bitar
print num2sv( 1001 ) . " natt\n"; #-> ettusenett
FUNCTIONS
These functions are provided but not exported by default.
- num2sv EXPR
-
Returns the Swedish text corresponding to EXPR. Only integers (positive and negative) are supported.
- num2sv_cardinal EXPR
-
Alias for
num2sv
.
TODO
num2sv_ordinal
support fractions
support scientific notation
support thousand-dividing commas
AUTHOR
Tim Nordenfur, <tim at gurka.se>
BUGS
Please report any bugs or feature requests to bug-lingua-sv-numbers at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Lingua-SV-Numbers. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Lingua::SV::Numbers
You can also look for information at:
RT: CPAN's request tracker
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
ACKNOWLEDGEMENTS
LICENSE AND COPYRIGHT
Copyright 2010 Tim Nordenfur.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 129:
Non-ASCII character seen before =encoding in 'röda'. Assuming UTF-8