From 53288cefda78454e909759823d5e8cc6e2214bad Mon Sep 17 00:00:00 2001 From: "C.J. Adams-Collier" Date: Mon, 15 Sep 2014 18:43:19 -0700 Subject: [PATCH] FS RT #28105 - changing the hourly charge back to one decimal place. nobody cares about less than 6 minutes --- FS/FS/part_pkg/sqlradacct_hour.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FS/FS/part_pkg/sqlradacct_hour.pm b/FS/FS/part_pkg/sqlradacct_hour.pm index 09cf85cab..79e64fbab 100644 --- a/FS/FS/part_pkg/sqlradacct_hour.pm +++ b/FS/FS/part_pkg/sqlradacct_hour.pm @@ -150,7 +150,7 @@ sub calc_recur { } if ( $self->option('recur_hourly_charge') > 0 ) { push @$details, "Last month\'s time ". - sprintf('%.3f', $hours). " hours: $hourscharge"; + sprintf('%.1f', $hours). " hours: $hourscharge"; } my $charges = $hourscharge + $inputcharge + $outputcharge + $totalcharge; -- 2.11.0