Skip to content

Handle NaN errors #61

@kbuffardi

Description

@kbuffardi

A bug occurs when the second number entered by the user is zero because a divide-by-zero error.

When a user enters zero (0) as the second number, show all the other operations as usual. However, instead of calculating and displaying the quotient for division, display the message: Dividing by zero is not a number.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions