pint icon indicating copy to clipboard operation
pint copied to clipboard

Temperature conversion issue

Open rufuswilson opened this issue 1 year ago • 1 comments

I was very surprised by the result of the following I was expecting 0.001.

>>> import pint
>>> pint.__version__
'0.23'
>>> UR = pint.UnitRegistry
>>> q = UR.Quantity(1.0,'millidegree_Celsius')
>>> q.m_as(units="degree_Celsius")
-273.149

Am I missing something or is this a bug?

rufuswilson avatar May 24 '24 08:05 rufuswilson

This is known but not yet fixed, see #1754 (and #1381).

dalito avatar May 24 '24 20:05 dalito