| Number-Object documentation | view source | Contained in the Number-Object distribution. |
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>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| Number-Object documentation | view source | Contained in the Number-Object distribution. |