NAME
MixWithWords::EN - Alias for Lingua::EN::Number::Format::MixWithWords
VERSION
version 0.05
FUNCTIONS
format_number_mix(%args) -> [status, msg, result, meta]
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 minfraction is 1 (the default) or 0.9, 800000 won't be formatted as 0.9 omillion but will be if minfraction 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.
scale* => str
Pick long or short scale names.
See http://en.wikipedia.org/wiki/Longscale#Longscalecountriesand_languages for details.
Return value:
Returns an enveloped result (an array). First element (status) is an integer containing HTTP status code (200 means OK, 4xx caller error, 5xx function error). Second element (msg) is a string containing error message, or 'OK' if status is 200. Third element (result) is optional, the actual result. Fourth element (meta) is called result metadata and is optional, a hash that contains extra information.
AUTHOR
Steven Haryanto <stevenharyanto@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Steven Haryanto.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.