知识库 > 金融建模 > 公用函数 > 扩展函数 > 数组 > 统计函数

MaxValueByColumn    

简述
求指定哪一列的最大值
定义
MaxValueByColumn(t:Array,fName:String):Real
参数

T:数据表
fName:指定列名

返回:求指定哪一列的最大值
  • 范例:

    t2:=array(('a':2,'c':13),('a':3,'c':33),('a':3,'c':43),('a':5,'c':53));
    return MaxValueByColumn(t2,'c');

    //结果:53
相关