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.

Comments

  • edited 2:24PM
    Solved using

    StrToFloat(Memo1.Lines[0]);

    instead of using:

    StrToFloat(Memo1.Lines.Text);

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.