public static String sc(Double score){
  String score_str=String.format("%-5.4f",score);
  return score_str;
}

public static String sc ( Double score ) { String score_str = String . format ( "%-5.4f" , score ) ; return score_str ; }
synopsis [ ] four decimal places for double
