Ver Mensaje Individual
  #12  
Antiguo 27-11-2008
Avatar de Héctor Randolph
[Héctor Randolph] Héctor Randolph is offline
Miembro Premium
 
Registrado: dic 2004
Posts: 882
Reputación: 22
Héctor Randolph Va por buen camino
Código Delphi [-]
procedure TForm1.Button1Click(Sender: TObject);
const
 π = 3.141592;
var
 β : Double;
begin
  β := cos(  π / 3 );
  ShowMessageFmt('Beta = %f',[β]);
end;

Increíble esto compila en Delphi 2007.
Responder Con Cita