You are here

private function PHP_CodeCoverage_Report_Crap4j::roundValue in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/Crap4j.php \PHP_CodeCoverage_Report_Crap4j::roundValue()

Parameters

float $value:

Return value

float

1 call to PHP_CodeCoverage_Report_Crap4j::roundValue()
PHP_CodeCoverage_Report_Crap4j::process in vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/Crap4j.php

File

vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/Crap4j.php, line 160

Class

PHP_CodeCoverage_Report_Crap4j
@since Class available since Release 2.0.0

Code

private function roundValue($value) {
  return round($value, 2);
}