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

Cel/F conversion #1

Open
brianpos opened this issue Oct 31, 2017 · 1 comment
Open

Cel/F conversion #1

brianpos opened this issue Oct 31, 2017 · 1 comment

Comments

@brianpos
Copy link

brianpos commented Oct 31, 2017

I know its noted as a todo, but I also note that the data isn't in the ucum-essence.xml file for it to actually be able to try and do the work.
Where did this source file come from.
(and Farenheit isn't in the file either - actually it is degF)

@mharthoorn
Copy link
Member

We left this conversion out because it is unreliable. Because Fahrenheid and Celcius have both a multiplication and an offset, you have to know whether the temperature is relative or absolute to make a proper conversion.

If the temperature is raised by 100degC gives a different answer than if the absolute temperature is 100decC.

The UCUM spec defines the Fahrenheit to Celcius conversion as one to be a non-default-hard-coded.

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

No branches or pull requests

2 participants