We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I would like to take a resulted mass and convert it from say lb (pounds) to oz (ounces). Is that possible with this library?
If I add a unit of a given value (say 1oz) and subtract then it properly converts, but I need the true value.
Thanks in advance!
The text was updated successfully, but these errors were encountered:
I then saw some other issues with suggestions on using the alpha, so I installed version 4.0a7.
Now the following code block:
from measurement.utils import guess print(guess(23, "g"))
Yields this error: ValueError: can't guess measure for '23 g'
ValueError: can't guess measure for '23 g'
Any guidance would be appreciated.
Sorry, something went wrong.
Ping? :P
Pong! Sorry for the delay. Is there any particular reason you are using guess instead of Mass("23 g").oz?
guess
Mass("23 g").oz
codingjoe
No branches or pull requests
I would like to take a resulted mass and convert it from say lb (pounds) to oz (ounces). Is that possible with this library?
If I add a unit of a given value (say 1oz) and subtract then it properly converts, but I need the true value.
Thanks in advance!
The text was updated successfully, but these errors were encountered: