Skip to content
This repository was archived by the owner on May 25, 2022. It is now read-only.
This repository was archived by the owner on May 25, 2022. It is now read-only.

Zero Division Error in create_calculator_app  #320

Closed

Description

@Atharv-Joshi

Description

When any number is divided by zero ,the program returns a zero division error.
error

Steps to reproduce the bug :

  • Enter any number as the first operand

  • Press the division button

  • Enter zero as the second operand.

This can be fixed by a **try and catch ** block .

  • I would also like to add a button to calculate the powers of numbers .
    For doing this I plan to change the UI a little i.e. just restrict the '0' button to a single column so that 'power' button can be accommodated in the next column

Type of issue

  • Feature (New Script)
  • Bug
  • Documentation

Checklist:

  • I have read the project guidelines.
  • I have checked all the existing projects, before submitting a new project issue.
  • I have checked previous issues to avoid duplicates.
  • This issue will be meaningful for the project.
  • I have added screenshots of the bug
  • I have added steps to reproduce the bug
  • I have proposed a possible solution for the bug

Activity

  1. Atharv-Joshi commented on Oct 3, 2020

    @Atharv-Joshi
    ContributorAuthor

    @AdityaJ7 can you please assign it to me?

  2. AdityaJ7 commented on Oct 4, 2020

    @AdityaJ7
    Member

    @AdityaJ7 can you please assign it to me?

    sure @Atharv-Joshi

  3. added a commit that references this issue on Oct 4, 2020
    2d6a464
  4. added a commit that references this issue on Jan 30, 2025
    7a190ca
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions