[BACK]Return to Util.pm CVS log [TXT][DIR] Up to [local] / RT / Invoicing / lib / RTI

Diff for /RT/Invoicing/lib/RTI/Util.pm between version 1.1 and 1.2

version 1.1, 2011/12/31 02:14:48 version 1.2, 2011/12/31 02:21:09
Line 7 
Line 7 
 use Carp;  use Carp;
 use DateTime;  use DateTime;
   
 our @EXPORT_OK = qw/ ymd_to_DateTime /;  our @EXPORT_OK = qw/ round ymd_to_DateTime /;
   
   sub round {
       my ($amount) = @_;
   
       #$amount =~ s/\.\d\d\K.*$//;
       #return $amount;
       return sprintf "%.02f", $amount;
   }
   
 sub ymd_to_DateTime {  sub ymd_to_DateTime {
     my ($ymd) = @_;      my ($ymd) = @_;

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>