code: @Override
    public ByteAmount divide(int factor) {
      checkArgument(factor != 0, String.format("Can not divide %s by 0", this));
      return ByteAmount.fromBytes(Math.round(value.doubleValue() / factor));
    }
docs: Divides by factor, rounding any remainder. For example 10 bytes / 6 = 1.66 becomes 2. Use
  caution when dividing and be aware that because of precision lose due to round-off, dividing by
  X and multiplying back by X might not return the initial value.
  @param factor value to divide by
  @return a new ByteValue of this ByteValue divided by factor