@Deprecated public static String percentageWithTwoCharacters(final double decimalNumber){
  final int percentage=(int)Math.round(decimalNumber * PERCENTAGE_FACTOR);
  return (percentage < PERCENTAGE_FACTOR) ? StringUtils.leftPad(String.valueOf(percentage),2,'0') : "XX";
}

@ Deprecated public static String percentageWithTwoCharacters ( final double decimalNumber ) { final int percentage = ( int ) Math . round ( decimalNumber * PERCENTAGE_FACTOR ) ; return ( percentage < PERCENTAGE_FACTOR ) ? StringUtils . leftPad ( String . valueOf ( percentage ) , 2 , '0' ) : "XX" ; }
returns the percentage with two characters , based on a given double decimal number ( like 0 . 7531 ) .
