There are some subtleties for temperature conversions, depending on whether you want to convert relative temperatures (differences) or absolute temperatures. See here for example : http://www.boost.org/doc/libs/1_54_0/doc/html/boost_units/Examples.html#boos... Matthias
Hello,
It's been a couple of years since I've done any work with Boost.Units, and I am finding that I want to make a dimensionally-safe conversion from Kelvin to Celsius.
I've got an I2C controller that reports in Kelvin, but I want to report it to the end-user in Celsius.
The examples I am finding seem to "almost" fit the bill, but I am having a difficult time extrapolating a sane conversion.
First, would help if I understood what the Boost.Units SI (my assumed base-system) base-temperature units were. I gather Fahrenheit? Or is it indeed Kelvin? I could be mistaken.
Thank you...
Regards,
Michael Powell _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users