Patch level :2.1 nopatch

Files correlati     :ab0.exe
Ricompilazione Demo : [ ]
Commento            :corretto uso funzione abs()


git-svn-id: svn://10.65.10.50/trunk@11872 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca 2004-03-16 10:56:14 +00:00
parent e9d96eefd8
commit 1c7c601988

View File

@ -680,6 +680,8 @@ void TRicl_saldi::output_line(TFile_type t, const char * key, TRiga_output & r,
_dbf->rewrite(rec);
}
else
{
real tmp;
if (t == _csvfile)
{
*_file << _codes << ";";
@ -688,11 +690,13 @@ void TRicl_saldi::output_line(TFile_type t, const char * key, TRiga_output & r,
if (is_commessa)
*_file << codcms << ";";
*_file << "\"" << descr << "\";";
*_file << abs(si).stringa() << ";";
tmp = abs(si);
*_file << tmp.stringa() << ";";
*_file << fsi << ";";
*_file << pd.stringa() << ";";
*_file << pa.stringa() << ";";
*_file << abs(s).stringa() << ";";
tmp = abs(s);
*_file << tmp.stringa() << ";";
*_file << fs << ";";
*_file << _dal << ";";
*_file << _al << ";";
@ -706,16 +710,19 @@ void TRicl_saldi::output_line(TFile_type t, const char * key, TRiga_output & r,
if (is_commessa)
*_file << codcms << "\t";
*_file << descr << "\t";
*_file << abs(si).stringa() << "\t";
tmp = abs(si);
*_file << tmp.stringa() << "\t";
*_file << fsi << "\t";
*_file << pd.stringa() << "\t";
*_file << pa.stringa() << "\t";
*_file << abs(s).stringa() << "\t";
tmp = abs(s);
*_file << tmp.stringa() << "\t";
*_file << fs << "\t";
*_file << _dal << "\t";
*_file << _al << "\t";
*_file << _codpdb << "\n";
}
}
}
void TRicl_saldi::close_output(TFile_type t)