1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Microsoft.VisualBasic; IRR function

Discussion in 'C#' started by jellybeannn, Jun 8, 2010.

  1. #1
    Hi I'm coding in c# and I'm usiing the IIR function of Microsoft.VisualBasic.

    I need values for 6 years that's 72months

    if (i <= 72)
    {
    values += C158_Calc;
    }
    SEMrush
    B162_Calc = Financial.IRR(ref values, 0.1) * 12;
    row9["Month1"] = String.Format("{0:#,###,###,###.##}", B162_Calc);


    this gives me this error:

    Arguments are not valid.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.ArgumentException: Arguments are not valid.


    but if I say up to 10months it works, more than that not.


    Any help please.
     
    jellybeannn, Jun 8, 2010 IP
    SEMrush
  2. prptl709

    prptl709 Guest

    Messages:
    83
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    What is IRR function and when it is used?
     
    prptl709, Mar 1, 2011 IP