FinancialValueRatio
简述
财务比率(%)。
财务比率(%)=财务指标1/财务指标2*100。
FinancialValueRatio (ReportDate:Ingeter;InfoID1:Ingeter;InfoId2:Ingeter):Real
名称 | 类型 | 说明 |
---|
ReportDate | Ingeter | 整数,报告期; |
InfoID1 | Ingeter | 整数,基本面1; |
InfoId2 | Ingeter | 整数,基本面2; |
返回 | Real | 实数,财务比率。 |
oV:=BackUpSystemParameters2();
//取股票"万科A"2011年报主营净利率(%)=净利润/主营业务收入*100
setsysparam(pn_stock(),'SZ000002');
Return FinancialValueRatio(20111231,DataBaseRatioId(9),DataBaseRatioId(1));
//结果:13.41
RatioValue