X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_pkg%2Fvoip_tiered.pm;h=d8607a69e14ffda98e8afd87e1d2700ee9f31c9d;hb=57bb423fe457ba4e13726877f53bcdf944f828f8;hp=0ad0ff6bf81e5bc28169f4a91b647f3cdd7163a1;hpb=4b05b20576ddb14577d59c87c8257c6804449410;p=freeside.git diff --git a/FS/FS/part_pkg/voip_tiered.pm b/FS/FS/part_pkg/voip_tiered.pm index 0ad0ff6bf..d8607a69e 100644 --- a/FS/FS/part_pkg/voip_tiered.pm +++ b/FS/FS/part_pkg/voip_tiered.pm @@ -196,7 +196,10 @@ sub calc_usage { my $output_format = $self->option('output_format', 'Hush!') || 'default'; - my $formatter = FS::detail_format->new($output_format, buffer => $details); + my $formatter = FS::detail_format->new($output_format, + buffer => $details, + rounding => ($self->option_cacheable('rounding') || 2)) + ; my $charges = 0;