-
BUG? I'm trying to divide a CODE:
In this snippet I'm getting the reserves of a pair of tokens of Uniswap
So, ALL OUTPUT
ENV: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
BigNumber is standard integer math. No decimals. You probably want to use the |
Beta Was this translation helpful? Give feedback.
-
As Richard explained, you can't use the vanilla |
Beta Was this translation helpful? Give feedback.
BigNumber is standard integer math. No decimals. You probably want to use the
ethers.FixedNumber
.