question: public static String formatPercent ( int downloadSize , int fileSize ) { float num = ( float ) downloadSize / fileSize ; float percent = ( ( float ) ( int ) ( num * 1000 ) ) / 10 ; return String . valueOf ( percent + "%" ) ; }
target:  Format the download percent