Replies: 2 comments 5 replies
-
From docs:
Keyword here, representation of ether into a BigNumber instance -- Hope this answers your queries! |
Beta Was this translation helpful? Give feedback.
-
@t3reetan BigNumbers are larger in bits size than the numbers that JavaScript can handle. Due to that we can either convert it to Hope it clears your query. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The following code is provided for context:
When comparing BigNumber values, why do we need to use the
toString()
before the comparison (see code fragment below)?The test fails when I do:
Beta Was this translation helpful? Give feedback.
All reactions