long Math.round( double );
int Math.round( float );
double Math.rint( double );

// rounding to two decimal places
double roundedValue = Math.rint( value * 100.0d ) / 100.0d;