sábado, 23 de maio de 2009

Arredondando valores

Procedure RoundDecimal(var AValue: double; Const ADecimal: integer);
var
strValue : string;
begin
strValue := FloatToStrF(AValue,ffFixed,18,ADecimal);
AValue := StrToFloat(strValue);
end;

Nenhum comentário:

Postar um comentário