static float toFahrenheit(final float temperature, @TemperatureUnit final int unit) {
		if (unit == UNIT_F) {
			return temperature;
		} else {
			return temperature * 1.8f + 32f;
		}
	}
Converts the value provided in given unit to Fahrenheit degrees.
If the unit is already {@link #UNIT_F} it will be returned as is.

@param temperature the temperature value in given unit.
@param unit        the unit of the value ({@link #UNIT_C} or {@link #UNIT_F}).
@return Value in F.
ble-common/src/main/java/no/nordicsemi/android/ble/common/profile/ht/TemperatureMeasurementCallback.java