public static UIMeasurement Decode(int value, int unit) { return(new UIMeasurement(FloatUtil.DecodeToFloat(value), (UIMeasurementUnit)unit)); }