ParaTest\Logging\LogInterpreter::getNumericValue PHP Method

getNumericValue() protected method

Returns a value as either a float or int
protected getNumericValue ( $property ) : float | integer
$property
return float | integer
    protected function getNumericValue($property)
    {
        return $property === 'time' ? floatval($this->accumulate('getTotalTime')) : intval($this->accumulate('getTotal' . ucfirst($property)));
    }