Skip to content

Incorrect output for show w #3

Description

@JeffinsonDarmawan

image.png

The infinity% of 0ml goal is an incorrect output. I am guessing this is because the formula you have used to calculate the percentage is to divide the current intake of water with the goal you have. But since I have not set the goal, we are dividing it by 0 resulting in an infinity.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions