code: protected String calcRatioHeightPercentage(double width, double height) {
  
          double p = Math.round((height / width) * 10000000.0) / 100000.0;
          return String.valueOf(p) + "%";
      }
docs: Returns the ratio height percentage of an image based on width and height.<p>
  
  @param width width to calculate percentage from
  @param height height to calculate percentage from
  
  @return the ratio height percentage of an image based on width and height