天软金融分析.NET函数大全 > 数据仓库函数 > 向导函数 > 区间

GrowthOfRepPeriod2    

简述

  表达式区间增长
定义
GrowthOfRepPeriod2(Exp:String;BegReport:Integer;EndReport:Integer;ReturnType:Integer;ReportType:Integer):Real
参数
名称类型说明
ExpString字符串,函数表达式
BegReportInteger整数,开始报告期
EndReportInteger整数,截止报告期
ReturnTypeInteger整数,返回类型
显示名 取值
0
比率 1
复合增长率 2
ReportTypeInteger整数,报告期类型
显示名 取值
年度标准 0
季度标准 1
返回Real实数。表达式的区间增长
  • 范例

    //对SZ000001在2020年年报至2022年报的营业收入增长率。
      SetSysParam(pn_stock(),"SZ000001");
      return GrowthOfRepPeriod2(@reportofall(46002,GetSysParam('DefaultRepID')),20201231,20221231,1);
      //返回:17.16
相关