Version: 3.1.2
Will always get NaN zero for numbers mentioned above. Problem seems to stem from this block of code in utils.js:
const intPart = numberParts[0].split('').reverse().reduce((roundedStr, current, idx) => {
if (roundedStr.length > idx) {
return (Number(roundedStr[0]) + Number(current)).toString() + roundedStr.substring(1, roundedStr.length);
}
return current + roundedStr;
}, roundedDecimalParts[0]);
+1
Fixed on v3.1.3
Most helpful comment
Fixed on v3.1.3