question: 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 ) ) ; }
target:  Formats the weight of to "0.0" format