javascript - facing an issue with parseFloat when input is more than 16 digits -
i facing weird issued.
parsefloat(11111111111111111)
converts 11111111111111112
.
i noticed works fine till length 16
rounds off higher when input length > 16.
i want retain original value passed in parsefloat
after executed.
any help?
integers (numbers without period or exponent notation) considered accurate 15 digits.
more information here
Comments
Post a Comment