Hola
Maestro aqui te sobro un edit:
Cita:
Empezado por ecfisa
Código Delphi [-]
var
ip, op, res:Real;
begin
ip:= StrToFloat(edit1.text);
op:= StrToFloat(edit2.text);
res:= ip + op;
Label1.Caption:= Edit1.Text:= FormatFloat('0.00', res);
|
Ahora que tal asi:
Código Delphi
[-]
var
ip, op, res:Real;
begin
ip:= StrToFloat(edit1.text);
op:= StrToFloat(edit2.text);
res:= ip + op;
Label1.Caption:= '$ ' + FormatFloat('0.00', res);
Saludos