private static double round(final double d){
  return ((int)(100 * d)) / 100d;
}

private static double round ( final double d ) { return ( ( int ) ( 100 * d ) ) / 100d ; }
round the value to 2 decimal points .
