Skip to content

Adding a meal with the maximum possible calorie value will add it as negative calories. #6

@philip1304

Description

@philip1304

Adding a meal entry with the maximum possible calorie value (2147483647 as stated in the program) will add the meal with that number but as negative calories.

Steps to reproduce:

  1. Add a meal entry with the add mealEntry command, but input the calorie value as 2147483647. E.g., add mealEntry Pizza /c2147483647.
  2. The program will record the day the meal is consumed as having -2147483647 current calories consumed, with a -96041207% percentage.

Screenshot 2024-11-15 at 4.57.21 PM.png

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions