[Quantproject-developers] QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRo
Brought to you by:
glauco_1
|
From: Glauco S. <gla...@us...> - 2005-04-17 23:15:25
|
Update of /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRows In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3889/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRows Modified Files: NumberWinningPeriods.cs Log Message: Single type values are converted to double, now. Index: NumberWinningPeriods.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRows/NumberWinningPeriods.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** NumberWinningPeriods.cs 17 Apr 2005 22:11:22 -0000 1.1 --- NumberWinningPeriods.cs 17 Apr 2005 23:15:15 -0000 1.2 *************** *** 44,50 **** (double)this.summary.AccountReport.EquityHistory.GetByIndex( i ); double benchmarkGain = ! ( (double)this.summary.AccountReport.BenchmarkEquityLine.GetByIndex( i + 1 ) - ! (double)this.summary.AccountReport.BenchmarkEquityLine.GetByIndex( i ) ) / ! (double)this.summary.AccountReport.BenchmarkEquityLine.GetByIndex( i ); if ( ( equityHistoryGain - benchmarkGain ) > ConstantsProvider.MinForDifferentGains ) this.summary.NumberWinningPeriods++; --- 44,50 ---- (double)this.summary.AccountReport.EquityHistory.GetByIndex( i ); double benchmarkGain = ! ( Convert.ToDouble( this.summary.AccountReport.BenchmarkEquityLine.GetByIndex( i + 1 ) ) - ! Convert.ToDouble( this.summary.AccountReport.BenchmarkEquityLine.GetByIndex( i ) ) ) / ! Convert.ToDouble( this.summary.AccountReport.BenchmarkEquityLine.GetByIndex( i ) ); if ( ( equityHistoryGain - benchmarkGain ) > ConstantsProvider.MinForDifferentGains ) this.summary.NumberWinningPeriods++; |