[freeside-commits] freeside/FS/FS/part_pkg voip_inbound.pm, 1.15, 1.16

Ivan,,, ivan at wavetail.420.am
Sat Oct 8 16:13:00 PDT 2011


Update of /home/cvs/cvsroot/freeside/FS/FS/part_pkg
In directory wavetail.420.am:/tmp/cvs-serv491

Modified Files:
	voip_inbound.pm 
Log Message:
4 decimal places for inbound rating, RT#14687

Index: voip_inbound.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_pkg/voip_inbound.pm,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -w -d -r1.15 -r1.16
--- voip_inbound.pm	22 Sep 2011 22:03:15 -0000	1.15
+++ voip_inbound.pm	8 Oct 2011 23:12:58 -0000	1.16
@@ -267,7 +267,7 @@
          $included_min = 0;
       }
       
-      $charge = sprintf('%.2f', ( $self->option('min_charge') * $charge_min )
+      $charge = sprintf('%.4f', ( $self->option('min_charge') * $charge_min )
                                 + 0.00000001 ); #so 1.00005 rounds to 1.0001
 
       if ( $charge > 0 ) {



More information about the freeside-commits mailing list