From 7ea6d6ae8345790448a540ac31bc32d1c836b2d2 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Tue, 4 Dec 2007 21:09:27 +0000 Subject: Updating version numbers in advance of 1.2.10 release git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1940 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/Form.pm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'LedgerSMB') diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm index 34ca7187..e2db2d0c 100755 --- a/LedgerSMB/Form.pm +++ b/LedgerSMB/Form.pm @@ -83,7 +83,7 @@ sub new { #menubar will be deprecated, replaced with below $self->{lynx} = 1 if $self->{path} =~ /lynx/i; - $self->{version} = "1.2.9"; + $self->{version} = "1.2.10"; $self->{dbversion} = "1.2.0"; bless $self, $type; @@ -432,7 +432,6 @@ sub format_amount { } if ( $places =~ /\d+/ ) { - #$places = 4 if $places == 2; $amount = $self->round_amount( $amount, $places ); } @@ -569,7 +568,7 @@ sub parse_amount { $amount = new Math::BigFloat($amount); - return ( $amount * 1 ); + return ($amount); } sub round_amount { -- cgit v1.2.3