MixWithWords::ID - Alias for Lingua::ID::Number::Format::MixWithWords
This document describes version 0.07 of MixWithWords::ID (from Perl distribution Lingua-ID-Number-Format-MixWithWords), released on 2016-06-14.
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):
min_format => float (default: 1000000)
Number must be larger than this to be formatted as mixture of number and word.
min_fraction => float (default: 1)
Whether smaller number can be formatted with 0,x.
If min_fraction is 1 (the default) or 0.9, 800000 won't be formatted as 0.9 omillion but will be if min_fraction is 0.8.
num => float
The input number to format.
num_decimal => int
Number of decimal points to round.
Can be negative, e.g. -1 to round to nearest 10, -2 to nearest 100, and so on.
Return value: (any)
Please visit the project's homepage at https://metacpan.org/release/Lingua-ID-Number-Format-MixWithWords.
Source repository is at https://github.com/perlancar/perl-Lingua-ID-Number-Format-MixWithWords.
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.
perlancar <perlancar@cpan.org>
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.
To install Lingua::ID::Number::Format::MixWithWords, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lingua::ID::Number::Format::MixWithWords
CPAN shell
perl -MCPAN -e shell install Lingua::ID::Number::Format::MixWithWords
For more information on module installation, please visit the detailed CPAN module installation guide.