i also uses if DecimalSeparator=','
then DecimalSeparator:='.';

And have no problem when the game is switched to french.