Comments (1)
Generally, I understand your point. Is the original recipe given in fractions or decimal representation? If I remember correctly, the algorithm should stick with the existing notation method. If it is pure integer, I guess it falls back to decimals.
One difficulty I personally have (as I am from a decimally-oriented country): what are acceptable fractions? I mean, if the original recipe was for 6 servings and should contain 5/8 cups of water, a single serving would be 5/48 cups, Honestly, this looks very strange to me. Now, take the fact we want to have 7 servings, we are at 35/48 cups. This gets worse, once you consider larger recipes (think 10, 12 or 15 servings). How would you handle such fractions? Would you at some point round or go to decimals?
As I said: I have no native feeling for these fractions and personally find them unnerving as I cannot read them intuitively. Could you help me, so I can either implement myself or delegate to someone else the implementation of these calculations?
from cookbook.
Related Issues (20)
- allow ingredients withou amount
- ingredient amounts given as intervals are not treated properly
- There are a lot of Spaces, and unnecessary newlines when converting to print/pdf
- a lot of unnecessary newlines and page breaks on print out/pdf HOT 1
- Cookbook not seeing recipes in recipes folder HOT 1
- Restore Enter/Return Key Function For Creating New Ingredients & Steps HOT 2
- Do not redownload the url-image HOT 1
- Integrating RecipeClipper as a recipe parser HOT 1
- Add recipe ID to recipe stubs
- Cookbook does compatible Nextcloud 28 ? HOT 1
- Changing the recipe folder has no effect HOT 1
- Recipe API provides wrong date format with `/api/v1/recipes`
- Provide ODF/DOC(X) export of recipe
- Federated sharing of recipes between instances
- Import/Export of recipe sets using exchange file HOT 1
- Update nutrition information with recalculated serving number
- Vue errors in console when creating new reciep from scratch
- Long folder names create sync error
- Fox CI Pipeline
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cookbook.