public static String formatWeight(Double value){
  if (value == null) {
    return "-";
  }
  DecimalFormat weightFormat=new DecimalFormat(WEIGHT_FORMAT,new DecimalFormatSymbols(Locale.ENGLISH));
  return weightFormat.format(formatWeightToDouble(value));
}

public static String formatWeight ( Double value ) { if ( value == null ) { return "-" ; } DecimalFormat weightFormat = new DecimalFormat ( WEIGHT_FORMAT , new DecimalFormatSymbols ( Locale . ENGLISH ) ) ; return weightFormat . format ( formatWeightToDouble ( value ) ) ; }
formats the weight of to " 0 . 0 " format
