public static String formatCurrency(BigDecimal value,Currency currency){
  NumberFormat f=getCurrencyFormatter();
  f.setCurrency(currency);
  return postFormatCurrency(f.format(value));
}

public static String formatCurrency ( BigDecimal value , Currency currency ) { NumberFormat f = getCurrencyFormatter ( ) ; f . setCurrency ( currency ) ; return postFormatCurrency ( f . format ( value ) ) ; }
format value in desired currency .
