Skip to content

BigNumber doesn't support decimals. #1875

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

You must be logged in to vote

BigNumber is standard integer math. No decimals. You probably want to use the ethers.FixedNumber.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
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
3 participants
Converted from issue

This discussion was converted from issue #1874 on August 15, 2021 02:21.