Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 07-04-2003, 03:23 AM
cnt cnt is offline
Junior Member
 
Join Date: Oct 2002
Posts: 26
Default converting single to string

How can I convert the single variant to string?

Thanks
Reply With Quote
  #2  
Old 07-04-2003, 04:49 AM
Ch!mera Ch!mera is offline
Senior Member
 
Join Date: Mar 2001
Posts: 163
Default RE: converting single to string

Hi, try this:

var Answer: Single;
begin
Answer := 5373 / 3535;
ShowMessage(FloatToStr(Answer));
end;
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT. The time now is 09:09 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.