
08.04.2013, 16:46
|
 |
.
|
|
Регистрация: 18.05.2011
Адрес: Омск
Сообщения: 3,970
Версия Delphi: 3,5,7,10,12,XE2
Репутация: выкл
|
|
Я так понимаю, ранее даный ответ не устроил?
Код:
procedure TForm1.RadioGroup1Click(Sender: TObject);
begin
case RadioGroup1.ItemIndex of
0 : Edit1.Text := FloatToStr(RadToGrad(StrToFloatDef(Edit1.Text, 0)));
1 : Edit1.Text := FloatToStr(GradToRad(StrToFloatDef(Edit1.Text, 0)));
end;
end;
__________________
Je venus de nulle part
55.026263 с.ш., 73.397636 в.д.
|