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

Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

Recent Articles: