summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2011-01-24 00:56:16 +0000
committerivan <ivan>2011-01-24 00:56:16 +0000
commit123e8b3e9bb0463e2cfbab33301c359ef8d5bb13 (patch)
tree95c3ae48bcb0ca10c5b4603d65b584d8f1aea666
parentf023c57df143ab903178c33d626bfaf4c04f38cb (diff)
torrus, RT#10574
-rw-r--r--FS/FS/part_pkg/torrus_Common.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/part_pkg/torrus_Common.pm b/FS/FS/part_pkg/torrus_Common.pm
index cbd9ee3fe..66624ada0 100644
--- a/FS/FS/part_pkg/torrus_Common.pm
+++ b/FS/FS/part_pkg/torrus_Common.pm
@@ -80,7 +80,7 @@ sub calc_usage {
#add usage details to invoice
my $l = $self->_torrus_label;
- my $d = "Last month's usage for $serviceid: ". sprintf('%2f',$max). $l;
+ my $d = "Last month's usage for $serviceid: ". sprintf('%.2f',$max). $l;
$d .= " (". ($max+$inc). "$l - $inc$l included)" if $inc;
$d .= " @ $money_char$rate/$l: $money_char$amount";