public function min($colName)
    {
        
        $min = INF;
        foreach ($this->rows as $row) {
            if ($min>$row[$colName]) {
                $min = $row[$colName];
            }
        }
        return $min;
    }
public function min($colName)
    {
        
        $min = INF;
        foreach ($this->rows as $row) {
            if ($min>$row[$colName]) {
                $min = $row[$colName];
            }
        }
        return $min;
    }
public function min ( $ colName ) { $ min = INF ; foreach ( $ this -> rows as $ row ) { if ( $ min > $ row [ $ colName ] ) { $ min = $ row [ $ colName ] ; } } return $ min ; }
Return the min value of a field

Examples: $minSale = $dataStore->min("saleAmount");

@param string $colName Name of column you want to get min

@return float Min value of column
Return the min value of a field