I have a spanish user who is getting an invalid floating point error when doing this
invalid floating point error
var S : String; R : Real; begin S := \'3.12345\'; R
Roll your own version of StrToFloat
function StrToFloat_UK(const AStr: string): Float; var FS: TFormatSettings; begin FS.Create('en-UK'); Result:= StrToFloat(AStr, FS): end;
And use this in place of StrToFloat.