So I decided to convert the string to using a dot whenever I found a comma. ... let value = '0,32' value = value.replace(/,/g, '.') //value is now '0.32'.
確定! 回上一頁