StrToFloat bug.

Hi,

Using latest version of WebCore, StrToFloat does not return a float but a large int.
In tmp(string) I have "45234.4158330903" after call to dValue(double) := StrToFloat(tmp) I get the value on varible dValue as 452344158330903

check debug browser image.

Any hints?

Thanks in advace,

Omar Zelaya.

Hi,

I have found it was a browser language settings issue.

Is there a way to change it(force) on code? I all ready have in my index.html file the tag.

Thanks in advace,

Omar Zelaya

Force the FormatSettings.DecimalSeparator setting?