Ver Mensaje Individual
  #3  
Antiguo 11-07-2011
Avatar de oscarac
[oscarac] oscarac is offline
Miembro Premium
 
Registrado: sep 2006
Ubicación: Lima - Perú
Posts: 2.015
Reputación: 22
oscarac Va por buen camino
Puedes Probar asi

Código Delphi [-]
procedure TForm1.Button1Click(Sender: TObject);
var num,totouble;
begin
num := strtofloat(edit1.Text);
tot := num*15 / 100;
label4.caption:=' El 15% de '+ Format('%f', [num]) +' es '+ Format('%f', [Tot]);
end;
__________________
Dulce Regalo que Satanas manda para mi.....
Responder Con Cita