Modify method of changing the decimal separator