Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ingredient amounts on Card Display do not show decimal point fractions #1039

Open
cNeuor opened this issue Aug 9, 2023 · 0 comments
Open

Comments

@cNeuor
Copy link

cNeuor commented Aug 9, 2023

User Story

It is very important for some of my recipes to go into hundredths of a decimal point (0.01) values for ingredient amounts as I often have to multiply the recipe servings and rounded numbers can have drastic effects on the end amounts.

Steps to Reproduce

  1. On Index View, click New in upper left corner to open the new recipe entry form.
  2. Enter the name of the Title, for example "Test Recipe", then switch to Ingredients tab.
  3. On the Ingredients tab, enter "1.75 g Test Ingredient" into the Add ingredients input box and hit Enter.
  4. Click Save in the upper left corner to save the recipe.
  5. Click View Recipe Card to view the saved recipe.

Expected Behavior

Card Display of the recipe should display the ingredient amount as entered.

Current Behavior

Card Display of the recipe displays the entered "1.75" value as "2". Note that the error is reflected on the recipe printout too, but the Recipe Editor retains the original entry correctly.

Possible Solution

-none-

Environment

Operating System: MS Windows 11 Pro
Version or commit id: Gourmet Recipe Manager 0.17.4
Installed as Flatpak or Python package?: Gourmet.Recipe.Manager-0.17.4-win32.msi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant