Convert Formatted string to float
Hi,
I have a FrxMemoView that contain formatted float values such as : 100.00
when I try to use that memo with StrToFloat I got this error:
' is not a valid floating point value
'100.00
How can I read it as float value?
that memo not bounded on Dataset
Thank you.
I have a FrxMemoView that contain formatted float values such as : 100.00
when I try to use that memo with StrToFloat I got this error:
' is not a valid floating point value
'100.00
How can I read it as float value?
that memo not bounded on Dataset
Thank you.
Comments
StrToFloat(Memo1.Lines[0]);
instead of using:
StrToFloat(Memo1.Lines.Text);