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

Comments

Popular posts from this blog

defining functions clojure

Integrating Struts2 with Spring Security using Custom Login Form