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

Feature suggestion: cross-metric conversions #124

Open
zszabo2000 opened this issue Apr 11, 2024 · 0 comments
Open

Feature suggestion: cross-metric conversions #124

zszabo2000 opened this issue Apr 11, 2024 · 0 comments
Labels
converter Issues, pull requests or discussions concerning the converter mode. enhancement New feature or request

Comments

@zszabo2000
Copy link

zszabo2000 commented Apr 11, 2024

By "cross-metric" i simply mean converting from e.g. mass to volume. Naturally, this is only meaningful for certain substances and under certain conditions. I am mainly thinking liquid water (or milk, or cooking oil) at standard temperature and pressure, although additional flexibility can be added by allowing to specify min/max density values as optional settings (if this functionality is provided, the min-max values should be preset and resettable to sensible values).

Purpose: Cooking recipes frequently state ingredient quantities in terms of volume, while professionals always measure by weight. Additionally, someone might have only measuring cups, but no mass scale (or vice versa). Most such ingredients (eg water, an incompressible fluid in liquid state) can be easily converted from volume (eg liters or cups) to mass (grams or lbs), because they're assumed to be under room temperature conditions (1 atmosphere, ~20°C / 72°F). For things like flour that are compressible, there are standard densities available (eg on FDA nutrition info label: 120g/cup ~= 0.507 g/cm^3).

Optional: Additional flexibility can be added by allowing to specify min-max values (eg a typical bag of flour weighs 4.98-lbs, which is 2258.5g, and fits into a ~22x14x10 cm^3 =3080 cc paper bag, meaning it is much more compact compared to the FDA label, at 0.733g/cc density).

@Yet-Zio Yet-Zio added enhancement New feature or request converter Issues, pull requests or discussions concerning the converter mode. labels May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
converter Issues, pull requests or discussions concerning the converter mode. enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants