public decimal EvaluateDecimal(Report rpt, Row row) { try { return(_Expr.EvaluateDecimal(rpt, row)); } catch (Exception e) { string err = String.Format("Exception evaluating {0}. {1}", _Source, e.Message); ReportError(rpt, 4, err); return(decimal.MinValue); } }
public decimal EvaluateDecimal(Report rpt, Row row) { decimal rhs = _rhs.EvaluateDecimal(rpt, row); return((decimal)(-rhs)); }