We have some JS script where we evaluate calculations, but we have an issue with leading zeros. JS treats the numbers with leading zeros as octal numbers. So we used a regex to remove all leading zeros:We have some JS script where we evaluate calcul
We have some JS script where we evaluate calculations, but we have an issue with leading zeros. JS treats the numbers with leading zeros as octal numbers. So we used a regex to remove all leading zeros:We have some JS script where we evaluate calcul