Module/JobStatus.php
public function getCompletionPercent()
    {
        $percent = 0;

        if (($this->completed > 0) && ($this->completionTotal > 0)) {

            $percent = $this->completed / $this->completionTotal;
        }

        return $percent;
    }
public function getCompletionPercent()
    {
        $percent = 0;

        if (($this->completed > 0) && ($this->completionTotal > 0)) {

            $percent = $this->completed / $this->completionTotal;
        }

        return $percent;
    }
public function getCompletionPercent ( ) { $ percent = 0 ; if ( ( $ this -> completed > 0 ) && ( $ this -> completionTotal > 0 ) ) { $ percent = $ this -> completed / $ this -> completionTotal ; } return $ percent ; }
Return percent completed.

0 is not started or not known
1 is finished
Between 0 and 1 is in process. Value is a float

@return float Percent completed
Return percent completed .