public static String formatPercentage(Double percentage){
  if (percentage == null)   return "";
  return formatPercentage(percentage.doubleValue());
}

public static String formatPercentage ( Double percentage ) { if ( percentage == null ) return "" ; return formatPercentage ( percentage . doubleValue ( ) ) ; }
formats a double representing a percentage into a string
