static float toMmolPerL(final float value, @GlucoseUnit final int unit) {
		if (unit == UNIT_mol_L) {
			return value * 1000f;
		} else {
			return value * 100000f / 18.2f;
		}
	}
Converts the value provided in given unit to mmol/L.

@param value the glucose concentration value in given unit.
@param unit  the unit of the value ({@link #UNIT_kg_L} or {@link #UNIT_mol_L}).
@return Value in mmol/L.
ble-common/src/main/java/no/nordicsemi/android/ble/common/profile/glucose/GlucoseMeasurementCallback.java