0

I noticed that BigNumber is a special data type in ethereum, and you can't do typical arithmetic operations on it that you would a regular uint. What is the big number, and why does ethereum/(solidity?) have it?

New contributor
pastacompany is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
1

Solidity itself does not have BigNumber.

You might be referring to JavaScript BitNumber libraries or Solidity libraries. Without further context, it is not possible to know what you are referring to.

1
  • I was just referring to the datatype. I see JS has its own BigNumber data type, maybe its from JS. I did not know that – pastacompany Apr 8 at 20:34

Your Answer

pastacompany is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.