StrToFloat issue on browser

Hi Bruno,

Looks like StrToFloat does not do its job quite well. Basically, if the string has number(s) followed by letter(s), e.g. '200test', StrToFloat will strip "test" out and shows the result as 200. Should we expect to receive an error for this case? also tried TryStrToFloat function and we saw the similar behavior as it for StrToFloat.

To demonstrate this, I made a demo, simply put WebEdit and WebButton on the form. and then trying to convert '200test' by clicking the button. As you can see, it will go through without problem...

Thanks in advance for the help,
6. (2.6 MB)

You're correct. This is pas2js RTL, so we reported this to the pas2js team to have it corrected.