Documentation

PHP_CodeCoverage_Util
in package

Utility methods.

Tags
since

Class available since Release 1.0.0

Table of Contents

percent()  : float

Methods

percent()

public static percent(float $a, float $b[, mixed $asString = false ][, mixed $fixedWidth = false ]) : float
Parameters
$a : float
$b : float
$asString : mixed = false
$fixedWidth : mixed = false
Return values
float

($a / $b) * 100

Search results