Closed timhawes closed 1 year ago
Floating point numbers beginning .0 or 0.0 are incorrectly parsed. The number after the decimal is interpreted as an octal value.
Input: var x = [0.0123] Expected output: [0.0123] Actual output: [0.83]
var x = [0.0123]
[0.0123]
[0.83]
Released the fix in the 1.2.2 version. Thank you for contributing!
Floating point numbers beginning .0 or 0.0 are incorrectly parsed. The number after the decimal is interpreted as an octal value.
Input:
var x = [0.0123]
Expected output:[0.0123]
Actual output:[0.83]