}
/** Converts value to unit e.g. bytes. */
public BigInteger convertToUnit(final String param, final Value value) {
final String unitPart = getUnitPart(getUnitLong(param));
final Unit unit = value.getUnit();
BigInteger num = new BigInteger(value.getValueForConfig());
if (getUnitPiBytes(unitPart).equals(unit)
|| getUnitPi(unitPart).equals(unit)) {
num = num.multiply(KILO)
.multiply(KILO)