question: @ 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" ; }
target:  Returns the percentage with two characters, based on a given double decimal number (like 0.7531).