First of all sorry for sending 3 messages. Ok let me clarify more.
I browsed fin.c file from cvs from src/calculation directory. And I just used the functions[_fi_calc_interest and functions required by it] listed there as I cannot use the whole application as its ported only to linux. Furthermore I converted the functions listed in that place into java class for my work. I have attached the code that I used in java. Only minimal changes were done from actual C source code needed for compilation purposes. Now when I use this function of rate and provide the specified values, I get positive value of the rate. But same values when given to VB function rate, gives me negative rate. i.e. -1.98245150 Whenever the VB rate is giving positive values, the values by my rate function matches with the VB rate function. But for negative values, I don't get correct values. Now probably I am clearer about discrepancy I am talking about. Regards, Vijay > -----Original Message----- > From: Ludovic Nicolle [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 09, 2005 9:04 PM > To: Vijay Vishvas Dharap > Cc: Ludovic Nicolle > Subject: 3 messages already > > Hi Vijay, > > your message got through to the gnucash list, please don't send it > again. > > as for the answer, the question itself is not very clear so i don't > know which functions you are talking about. So if you have to clarify > things, please take the time to rewrite your mressage with better > context and details, but send it only once. > > > thank you. > > > Ludo
RateTest.java
Description: RateTest.java
_______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel