Round time to four decimal points, instead of 5

5 is too many
This commit is contained in:
Daniel Bachhuber 2016-08-24 13:33:12 -07:00
parent fba6476df7
commit deed70cb2b

View file

@ -88,9 +88,9 @@ class Profile_Command {
foreach( $this->scope_log as $scope => $data ) {
foreach( $data as $key => $value ) {
// Round times to 5 decimal points
// Round times to 4 decimal points
if ( stripos( $key,'_time' ) ) {
$this->scope_log[ $scope ][ $key ] = round( $value, 5 ) . 's';
$this->scope_log[ $scope ][ $key ] = round( $value, 4 ) . 's';
}
}
}