Number::Object::Plugin::Tax - tax calc
my $price = Number::Object->new(100, { load_plugins => [qw/ Tax /], config => { Tax => { rate => 1.5, method => 'ceil' } } });
tax rate
Method of processing decimal point.
floor or ceil( default is floor )
Kazuhiro Osawa <ko@yappo.ne.jp>
Number::Object
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Number::Object, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Number::Object
CPAN shell
perl -MCPAN -e shell install Number::Object
For more information on module installation, please visit the detailed CPAN module installation guide.