procedure TForm1.Button1Click(Sender: TObject); var X: Double; Y: Currency; begin Y := 1.1; X := Double(Y); ShowMessage(FloatToStr(X)); end;