public static String formatMillisToSeconds(long time){
  double sec=time / 1000d;
  return millisFormat.format(sec) + " s";
}

public static String formatMillisToSeconds ( long time ) { double sec = time / 1000d ; return millisFormat . format ( sec ) + " s" ; }
formats milliseconds to seconds .
