Round invece di trunc

git-svn-id: svn://10.65.10.50/trunk@2586 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
villa 1996-02-09 09:22:00 +00:00
parent 859357a423
commit c7761ee095

View File

@ -1650,7 +1650,7 @@ void TPagamento::set_rate_auto()
const real reminder = toslice - r1;
if (!reminder.is_zero())
{
ro = reminder/real(rut-1); ro.trunc(round(v));
ro = reminder/real(rut-1); ro.round(round(v));
r1 = (toslice - (ro*real(rut-1)));
}
}