Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Pascal
Expertise: Beginner
Apr 10, 1998

Converting strings to reals

Question:
I am trying to read in a value of pi/4 from an editbox. Is there a built in command to convert it to a real from a string or do I have to write an entire function? Thanx.

Answer:
For this, you could simply try StrToFloat, which is a string to numeric conversion function

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date