reading float number from textfile

Posted by ani t88ip88 on November 16, 20011

I have problem on reading float number from textfile.
Example of data is:
aaaa 2.13 0.55

To read this, I take them as string variable, then for the last two I convert to float (StrToFloat), but it does not work. I got result as follows:
aaaa 2. 13 0.

Can I got help on the proper code for this?
Thank you.

Related articles


Follow Ups