Closed jaredgorski closed 5 years ago
You're directly trying to parse the value
property? It's only used internally.
I don't see any issue happening with toString
:
var x = "1551726003360588900"
bigInt(x).toString() === x // true
Ah, thanks for checking. I'll make sure. Closing for now
I'm trying to use
bigInt
to parse a big integer back and forth from being a string, but a zero is being lost.