private int convertToIntPercent(final double percentHeap) {
    assert percentHeap >= 0.0 && percentHeap <= 1.0;
    int ret = (int) Math.ceil(percentHeap * 100.0);
    assert ret >= 0 && ret <= 100;
    return ret;
  }
Convert a percentage as a double to an integer e.g. 0.09 => 9 also legal is 0.095 => 9

@param percentHeap a percentage value expressed as a double e.g. 9.5% => 0.095
@return the calculated percent as an integer >= 0 and <= 100
geode-junit/src/main/java/org/apache/geode/internal/cache/control/TestMemoryThresholdListener.java