Hi all, I need to divide something depending on the number of months. So the value of x in the sixth month val is val = ((double)(12 - iNumOfMonth + 1)/12)x where iNumOfMonth is 6 In the first month val should be same as x, but it is not. Is it because of the datatypes? Any ideas? Thanks. Amit. _____________________________________________________________ Do You Yahoo!? Free instant messaging and more at http://messenger.yahoo.com _________________________________________________________________________ For help in using, subscribing, and unsubscribing to the discussion forums, please go to: http://www.netdynamics.com/support/visitdevfor.html For dire need help, email: [EMAIL PROTECTED]
