update string format for decimal