Patch level : 12.0 1254

Files correlati     : ce3.exe

Commento:
Il registro cespiti sintetico non arrotondava bene le percentuali di ammortamento
This commit is contained in:
Alessandro Bonazzi 2023-03-25 12:20:02 +01:00
parent 7b99e2d65b
commit 7c13658374

View File

@ -328,6 +328,7 @@ bool TStampa_sintetica_rep::get_usr_val(const TString& name, TVariant& var) cons
const TRectype& rec_ammce = _cespite.amm_pro();
real percamm = real(rec_ammce.get_real(AMMCE_PNOR) + rec_ammce.get_real(AMMCE_PACC) +
rec_ammce.get_real(AMMCE_PANT));
percamm.round(2);
var = percamm;
return true;
}