Write temperature conversion and formatting functions.
A temperature widget needs two conversion helpers and one formatting helper. Keep the math separate from the display text so each function has one clear job.