cooklang-swift icon indicating copy to clipboard operation
cooklang-swift copied to clipboard

Fraction Ingredients displaying as a decimal value on server

Open mattystevens opened this issue 2 years ago • 1 comments

Listing an ingredient with a fraction like this: @gochujang{1/2%tbsp} results in an ingredient on CLI server like this: image

Typically recipes use fractional values to show parts of cups, tsp, tbsp, etc. Using decimals is less readable, and harder to translate into the right step to take when cooking.

mattystevens avatar Mar 11 '22 14:03 mattystevens

Agree. Currently for the sake of combination of ingredients mentioned multiple times, everything is converted to decimal. I need to think how we can approach it so it keeps the original type.

dubadub avatar Mar 12 '22 09:03 dubadub