summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-12-04 21:09:27 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-12-04 21:09:27 +0000
commit7ea6d6ae8345790448a540ac31bc32d1c836b2d2 (patch)
treeda10c056eb1c632f8b8c79c1d574657efffc0d5d /LedgerSMB
parent6a2eeb821c7823ea2fa15be852174f40794d87ac (diff)
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
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-xLedgerSMB/Form.pm5
1 files changed, 2 insertions, 3 deletions
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 {