Fix bug for decimal point