hi...
I'm having a problem figuring out a calculation in Java. It works in Excel though.
Excel formula sample is:
Cell A7 = .065
(1+A7)^(1/12)-1
result=0.005261
Btw, the reason behind is that, if you don't add the .0, Java uses the integer division ie, takes the integer part of the division. In that case, 1/12=0
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.