NAME

Number::Object::Plugin::Tax - tax calc

CONFIGS

my $price = Number::Object->new(100, {
  load_plugins => [qw/ Tax /],
  config => {
      Tax => { rate => 1.5, method => 'ceil' }
  }
});
rate

tax rate

method

Method of processing decimal point.

floor or ceil( default is floor )

AUTHOR

Kazuhiro Osawa <ko@yappo.ne.jp>

SEE ALSO

Number::Object

LICENSE

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