question: private static double round ( double value , int decimalPlaces ) { return Math . round ( value * Math . pow ( 10 , decimalPlaces ) ) / Math . pow ( 10 , decimalPlaces ) ; }
target:  Rounds a decimal value to the given decimal place.