Here is the code for the total price that is giving the floating-point error ':
//Pr. Total
sgItens.Cells[5,l] := FormatFloat('###,###,###,##0.00',StrToFloat(copy(lTemp, 210, 14)));
cont:= StrToFloat(sgItens.Cells[5,l]);
valorTotal:= valorT...
asked by
08.05.2014 / 19:51