Skip to content

"@ethersproject/bignumber": "^5.4.1" - Error: overflow - operation="toNumber" - code=NUMERIC_FAULT #1983

Answered by ricmoo
SvenMeyer asked this question in Q&A
Discussion options

You must be logged in to vote

That number is too big to use .toNumber() on as it exceeds the 53-bits JavaScript IEEE754 number allows.

Check out this section in the docs for more information. :)

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
7 replies
@michaeljohnbennett
Comment options

@michaeljohnbennett
Comment options

@ricmoo
Comment options

@michaeljohnbennett
Comment options

@ricmoo
Comment options

Answer selected by ricmoo
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants
Converted from issue

This discussion was converted from issue #1982 on September 01, 2021 07:12.