Mantis #6039: Design fault, code should not allow decimal separators other than '.'

The original code didn't use "DecimalSeparator". It was later added. But an expression parser should follow the compiler's expression parser what only accepts '.' as decimal separator.

Undone changes from ref 0e7e8eb2958d3515e2c787af92a5d8ba145ca5ad