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

Fixes #1950 TypeError temperature to base units #1953

Conversation

biagiodistefano
Copy link

@hgrecco
Copy link
Owner

hgrecco commented Mar 13, 2024

I don't think this is correct. Pint respects Python rules. If you defined a float registry, you need to use floats. If you want to use decimal in your quantities, define a Decimal registyr.

@hgrecco hgrecco closed this Mar 13, 2024
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

Successfully merging this pull request may close these issues.

TypeError when calling to_base_units() for temperature.
2 participants