AssetsProfitRatio
简述
总资产报酬率(%)=利润总额/(期初资产总额+期末资产总额)/2*100。
函数首先从合并利润分配表中取利润总额,再从合并资产负债表中取期初和期末资产总额,根据算法得到总资产报酬率(%)。
AssetsProfitRatio(ReportDate:Integer):Real
名称 | 类型 | 说明 |
---|
ReportDate | Integer | 整数,报告期。 |
返回 | Real | 实数,总资产报酬率(%),百分数。 |
//指定2011年报,取万科A总资产报酬率(%)
oV:=BackUpSystemParameters2();
setsysparam(pn_stock(),'SZ000002');
v:=AssetsProfitRatio (20111231);
return v;
//结果:6.18