fabio_giro Mon, 21 Jan 2008 02:24:08 -0800
uses math; {$R *.dfm}
procedure TForm1.Button1Click(Sender: TObject); var tx : double; begin tx := strtofloat(edit1.text); tx := roundto(tx + 0.00001,-2); edit2.text := floattostr(tx); end; Agradeço a todos pelas colaborações.