I'm sorry, I just need an extra set of eyes, I'm second guessing myself. I'm working on translating from classic vb6 to c# and I've looked up the table on operator precedence however I'm still not working out correctly.
VB6
= _
m_curAmountInvested * (1 + m_dblInterestRate / 12) ^ m_intMonthsToAttain + _
m_curAddDeposits * ((1 + m_dblInterestRate / 12) ^ m_intMonthsToAttain - 1) / (m_dblInterestRate / 12)
C#
= (currentAmountSaved * Math.Pow((1d + interestRate) / 12d, numberOfMonths)) +
((monthlySavingsAmount * (Math.Pow((1d + interestRate) / 12d, numberOfMonths) - 1d)) / (interestRate / 12d))