Tolti gli errori di compilazione dovuti ad un cast (real) su una
chiamata ad abs(). git-svn-id: svn://10.65.10.50/trunk@2500 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
fa2a5752f0
commit
4ad371e1ec
@ -601,7 +601,7 @@ bool Visliq_app::vis_one(int m)
|
||||
msk.field(F_RIMBORSO).set(rimborso.string());
|
||||
if (rettifica.sign() < 0)
|
||||
{
|
||||
msk.field(F_RETTIFICA).set(real(abs(rettifica)).string());
|
||||
msk.field(F_RETTIFICA).set(abs(rettifica).string());
|
||||
msk.field(F_DEBCRE).set("C");
|
||||
}
|
||||
else if (rettifica.sign() > 0)
|
||||
@ -918,7 +918,7 @@ void Visliq_app::recalc_liq_data(TViswin* vsw, real& rimb, real& rett, real& ver
|
||||
}
|
||||
else if (rett.sign() < 0)
|
||||
{
|
||||
vsw->replace(lrettc, real(abs(rett)).string("###.###.###.###"), 58);
|
||||
vsw->replace(lrettc, abs(rett).string("###.###.###.###"), 58);
|
||||
vsw->replace(lrettd, " ", 75);
|
||||
}
|
||||
else
|
||||
@ -930,7 +930,7 @@ void Visliq_app::recalc_liq_data(TViswin* vsw, real& rimb, real& rett, real& ver
|
||||
if (risul.sign() < 0)
|
||||
{
|
||||
ln.overwrite("CREDITO ATTUALE", 23);
|
||||
ln.overwrite(real(abs(risul)).string("###.###.###.###"), 58);
|
||||
ln.overwrite(abs(risul).string("###.###.###.###"), 58);
|
||||
}
|
||||
else if (risul.sign() > 0)
|
||||
{
|
||||
@ -1029,10 +1029,10 @@ void Visliq_app::recalc_next_liq(int start_month, TSheet_field* sl, TSheet_field
|
||||
int sr0 = (_lim->get_real("R0")).sign();
|
||||
int sr5 = (_lim->get_real("R5")).sign();
|
||||
|
||||
t.add(real(abs(_lim->get_real("R0"))).string(),1);
|
||||
t.add(abs(_lim->get_real("R0")).string(),1);
|
||||
t.add(sr0 == 0 ? "" : (sr0 > 0 ? "D" : "C"), 2);
|
||||
t.add((_lim->get_real("R1")).string(),3);
|
||||
t.add(real(abs(_lim->get_real("R5"))).string(),4);
|
||||
t.add(abs(_lim->get_real("R5")).string(),4);
|
||||
t.add(sr5 == 0 ? "" : (sr5 > 0 ? "D" : "C"),5);
|
||||
|
||||
sl->force_update(row);
|
||||
@ -1131,14 +1131,14 @@ void Visliq_app::read_general(TMask& m)
|
||||
else tt = &(sh.row(i-1));
|
||||
|
||||
tt->add(itoname(i),0);
|
||||
tt->add(real(abs(_lim->get_real("R0"))).string(),1);
|
||||
tt->add(abs(_lim->get_real("R0")).string(),1);
|
||||
|
||||
int sr0 = (_lim->get_real("R0")).sign();
|
||||
int sr5 = (_lim->get_real("R5")).sign();
|
||||
|
||||
tt->add(sr0 == 0 ? "" : (sr0 > 0 ? "D" : "C"),2);
|
||||
tt->add(_lim->get_real("R1").string(),3);
|
||||
tt->add(real(abs(_lim->get_real("R5"))).string(),4);
|
||||
tt->add(abs(_lim->get_real("R5")).string(),4);
|
||||
tt->add(sr5 == 0 ? "" : (sr5 > 0 ? "D" : "C"),5);
|
||||
|
||||
sh.row(i-1) = (*tt);
|
||||
@ -1504,10 +1504,10 @@ if (was_lim)
|
||||
int sr0 = (_lim->get_real("R0")).sign();
|
||||
int sr5 = (_lim->get_real("R5")).sign();
|
||||
|
||||
tt_ln.add(real(abs(_lim->get_real("R0"))).string(),1);
|
||||
tt_ln.add(abs(_lim->get_real("R0")).string(),1);
|
||||
tt_ln.add(sr0 == 0 ? "" : (sr0 > 0 ? "D" : "C"), 2);
|
||||
tt_ln.add((_lim->get_real("R1")).string(),3);
|
||||
tt_ln.add(real(abs(_lim->get_real("R5"))).string(),4);
|
||||
tt_ln.add(abs(_lim->get_real("R5")).string(),4);
|
||||
tt_ln.add(sr5 == 0 ? "" : (sr5 > 0 ? "D" : "C"),5);
|
||||
|
||||
// sh.force_update(row);
|
||||
|
Loading…
x
Reference in New Issue
Block a user