Posts

Showing posts from September, 2011

convert string to BigDecimal

public BigDecimal convertStringtoBigDecimal(String a){
return new BigDecimal(a);

}

//can do a null check--before invoking this to avoid null pointer exception