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


Number-Object documentation  | view source Contained in the Number-Object distribution.

Index


NAME

Top

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

CONFIGS

Top

  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

Top

Kazuhiro Osawa <ko@yappo.ne.jp>

SEE ALSO

Top

Number::Object

LICENSE

Top

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.