public static String formatCpuPercent(float percent){
  return cpuFormat.format(percent) + " %";
}

public static String formatCpuPercent ( float percent ) { return cpuFormat . format ( percent ) + " %" ; }
adds a % - sign to a floating number . for example : input = 12 / output = 12 % .
