public static double round(double number,int decimalPlace){
  double multiplier=Math.pow(10,decimalPlace);
  return Math.round(number * multiplier) / multiplier;
}

public static double round ( double number , int decimalPlace ) { double multiplier = Math . pow ( 10 , decimalPlace ) ; return Math . round ( number * multiplier ) / multiplier ; }
well , this is the fastest ( i think ) method with little bit compromise on accuracy in some cases . there exists some other methods using bigdecimal , deciamlformats , which i think , for me not so necessary .
