Regional setting bug fix

Resolved issued with "," as the decimal character.