[freeside-commits] freeside/FS/FS/part_pkg voip_inbound.pm, 1.12.2.2, 1.12.2.3

Ivan,,, ivan at wavetail.420.am
Sat Oct 8 16:12:05 PDT 2011


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

Modified Files:
      Tag: FREESIDE_2_3_BRANCH
	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.12.2.2
retrieving revision 1.12.2.3
diff -u -w -d -r1.12.2.2 -r1.12.2.3
--- voip_inbound.pm	11 Aug 2011 23:05:59 -0000	1.12.2.2
+++ voip_inbound.pm	8 Oct 2011 23:12:03 -0000	1.12.2.3
@@ -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