Light Widget with temperature control

Probably sometimes the values are rounded up, and other times they are rounded down.

See for instance the following discussion:

You can easily check the results by filling all values in a spreadsheet and apply the transformation equations until you get the proper result. This may have to be addressed at the binding level. Alternatively, you can live with this minor inconvenience.