public static String formatPrice(BigDecimal price){
  if (price == null)   return "";
  return priceDecimalFormat.format(price);
}

public static String formatPrice ( BigDecimal price ) { if ( price == null ) return "" ; return priceDecimalFormat . format ( price ) ; }
formats a bigdecimal representing a price into a string
