projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added $FS::Record::no_update_diff flag to update "identical" records anyway.
[freeside.git]
/
sql-ledger
/
SL
/
Num2text.pm
diff --git
a/sql-ledger/SL/Num2text.pm
b/sql-ledger/SL/Num2text.pm
index
f09121c
..
06eee71
100644
(file)
--- a/
sql-ledger/SL/Num2text.pm
+++ b/
sql-ledger/SL/Num2text.pm
@@
-1,6
+1,6
@@
#=====================================================================
# SQL-Ledger Accounting
#=====================================================================
# SQL-Ledger Accounting
-# Copyright (C) 200
1
+# Copyright (C) 200
2
#
# Author: Dieter Simader
# Email: dsimader@sql-ledger.org
#
# Author: Dieter Simader
# Email: dsimader@sql-ledger.org
@@
-77,7
+77,7
@@
sub num2text {
my @textnumber = ();
# split amount into chunks of 3
my @textnumber = ();
# split amount into chunks of 3
- my @num = reverse split //,
$amount
;
+ my @num = reverse split //,
abs($amount)
;
my @numblock = ();
my @a;
my $i;
my @numblock = ();
my @a;
my $i;