[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[4295] branches/1.3/LedgerSMB/GL.pm



Revision: 4295
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=4295&view=rev
Author:   tshvr
Date:     2012-02-08 17:48:06 +0000 (Wed, 08 Feb 2012)
Log Message:
-----------
format_amount numberformat make sure numbers stay BigFloat

Modified Paths:
--------------
    branches/1.3/LedgerSMB/GL.pm

Modified: branches/1.3/LedgerSMB/GL.pm
===================================================================
--- branches/1.3/LedgerSMB/GL.pm	2012-02-08 15:06:15 UTC (rev 4294)
+++ branches/1.3/LedgerSMB/GL.pm	2012-02-08 17:48:06 UTC (rev 4295)
@@ -552,6 +552,7 @@
     my $zeroBF=new Math::BigFloat(0);#HV make sure BigFloat stays BigFloat
 
     while ( my $ref = $sth->fetchrow_hashref(NAME_lc) ) {
+        $form->db_parse_numeric(sth=>$sth,hashref=>$ref);
 
         # gl
         if ( $ref->{type} eq "gl" ) {

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.