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

Spring MVC- Redirect from one controller to another

How to retain the space of the td after hidding it in Jquery