
24.02.2009, 13:53
|
Специалист
|
|
Регистрация: 07.05.2007
Адрес: Москва
Сообщения: 884
Репутация: 21699
|
|
Код:
implementation
uses Math;
{$R *.dfm}
const
x = 100.0;
y = 100.0;
procedure TForm1.FormCreate(Sender: TObject);
begin
Label1.Caption:= Format('%.0f°', [RadToDeg(ArcTan2(y,x))]);
end;
|