private void pEvalFunctionGroup(cReportFormulaInt fint)
{
double value = 0;
double total = 0;
if (fint.getVariables().count() > 0)
{
if (fint.getParameters().item(cReportGlobals.C_KEYINDEXCOL2) == null)
{
value = 0;
}
else
{
int columnIndex = int.Parse(fint.getParameters().item(cReportGlobals.C_KEYINDEXCOL2).getValue());
value = cUtil.val(m_report.getValueFromRs(columnIndex).ToString());
}
cReportVariable var = fint.getVariables().item(C_GROUPPERCENTT);
total = cUtil.val(var.getValue().ToString());
value = cUtil.divideByZero(value, total);
var.setValue(value);
}
}