public function topByPercent($num)
    {
        $count = $this->countData();
        return $this->top(round($num*$count/100));
    }
public function topByPercent($num)
    {
        $count = $this->countData();
        return $this->top(round($num*$count/100));
    }
public function topByPercent ( $ num ) { $ count = $ this -> countData ( ) ; return $ this -> top ( round ( $ num * $ count / 100 ) ) ; }
Return top percent of row

@param float $num What top percent of row you want to return

@return DataStore New datastore containing result.
Return top percent of row