perlancar > Lingua-ID-Number-Format-MixWithWords-0.07 > Lingua::ID::Number::Format::MixWithWords

Download:
Lingua-ID-Number-Format-MixWithWords-0.07.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.07   Source  

NAME ^

Lingua::ID::Number::Format::MixWithWords - Format number to a mixture of numbers and words (e.g. "12,3 juta")

VERSION ^

This document describes version 0.07 of Lingua::ID::Number::Format::MixWithWords (from Perl distribution Lingua-ID-Number-Format-MixWithWords), released on 2016-06-14.

SYNOPSIS ^

 use Lingua::ID::Number::Format::MixWithWords qw(format_number_mix);

 print format_number_mix(num => 1.23e7); # prints "12,3 juta"

DESCRIPTION ^

This module formats number with Indonesian names of large numbers (ribu, juta, miliar, triliun, and so on), e.g. 1.23e7 becomes "12,3 juta". If number is too small or too large so it does not have any appropriate names, it will be formatted like a normal number.

FUNCTIONS ^

format_number_mix(%args) -> any

Format number to a mixture of numbers and words (e.g. "12,3 juta").

This function is not exported by default, but exportable.

Arguments ('*' denotes required arguments):

Return value: (any)

HOMEPAGE ^

Please visit the project's homepage at https://metacpan.org/release/Lingua-ID-Number-Format-MixWithWords.

SOURCE ^

Source repository is at https://github.com/perlancar/perl-Lingua-ID-Number-Format-MixWithWords.

BUGS ^

Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Lingua-ID-Number-Format-MixWithWords

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

SEE ALSO ^

Lingua::ID::Nums2Words

Lingua::EN::Number::Format::MixWithWords

Number::Format

AUTHOR ^

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2016 by perlancar@cpan.org.

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

syntax highlighting: