public function getHelpfulness()
    {
        if ($this->hits + $this->misses === 0) {
            return 0.00;
        }

        return number_format(($this->hits / ($this->hits + $this->misses)) * 100, 2);
    }
public function getHelpfulness()
    {
        if ($this->hits + $this->misses === 0) {
            return 0.00;
        }

        return number_format(($this->hits / ($this->hits + $this->misses)) * 100, 2);
    }
public function getHelpfulness ( ) { if ( $ this -> hits + $ this -> misses === 0 ) { return 0.00 ; } return number_format ( ( $ this -> hits / ( $ this -> hits + $ this -> misses ) ) * 100 , 2 ) ; }
Get helpfulness percentage

@return float
Get helpfulness percentage