I have encountered a problem with my project app.
Its a binary to decimal converter and i need help with it urgently.
The answers are sometimes right but not always. Especially when entering a large binary value, the answer is increased.
The code used is given below:
The binary number i used in this example is 10100101000010000101 whose correct answer is 675973 but my app shows 675980.