summaryrefslogtreecommitdiff
path: root/FS/FS/part_pkg/voip_tiered.pm
diff options
context:
space:
mode:
Diffstat (limited to 'FS/FS/part_pkg/voip_tiered.pm')
-rw-r--r--FS/FS/part_pkg/voip_tiered.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/FS/FS/part_pkg/voip_tiered.pm b/FS/FS/part_pkg/voip_tiered.pm
index 0ad0ff6..d8607a6 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;