Converts a temperature from an initial unit into a final unit.