Code-Recursion/UI-Calculator

1/0 gives infinity that is wrong.

Closed this issue · 7 comments

dividing 1 by 0 gives infinity that is wrong.
it should show cannot be divisible by 0
handle this exception using js

Thats what its supposed to do right? Why is that wrong?

That is correct. Do you want it to display "Invalid operation"?

@Code-Recursion Can I work on it if its still open?

@Code-Recursion This issue has been handled in the PR #17 . Kindly review it.
Cheers Happy Hacking!

I fixed not only division by 0, i fixed all invalid operations like " 158*** " (arithmetics errors)

PR: #18

@piyushverma001, PR #17 not resolve arithmetics errors