Puttanatina arrotondamento iniziale

git-svn-id: svn://10.65.10.50/trunk@2591 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
villa 1996-02-13 09:37:14 +00:00
parent c695a1724f
commit 8a6ba17ebb

View File

@ -1645,7 +1645,6 @@ void TPagamento::set_rate_auto()
{
// usa la percentuale per la prima rata
r1 = (toslice * perc_rata(first))/real(100.0);
r1.round(v);
const real reminder = toslice - r1;
if (!reminder.is_zero())
@ -1655,7 +1654,8 @@ void TPagamento::set_rate_auto()
}
}
else
r1 = toslice;
r1 = toslice;
r1.round(round(v));
}
for (int i = first; i < n_rate(); i++)