double function ( double val , int places ) { double scale = Math . pow ( 10 , places ) ; long iVal = Math . round ( val * scale ) ; return iVal / scale ; }
round to specified decimals concode_field_sep Logger logger concode_elem_sep File cfg concode_elem_sep boolean timeSet concode_elem_sep Properties props concode_elem_sep SimpleDateFormat sdf concode_field_sep double updateScale concode_elem_sep String pad concode_elem_sep void checkTime concode_elem_sep File getUSBFile concode_elem_sep void setDefaults concode_elem_sep Properties getConfig concode_elem_sep double movingAverage concode_elem_sep void saveConfig