#java math
18 messages ยท Page 1 of 1 (latest)
โ This post has been reserved for your question.
Hey @spring drum! Please use
/closeor theClose Postbutton above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
make sure you're using doubles to get accurate results
is my formula valid ?
try it
how i implemented that
you could remove the parens in the first argument of Math.pow btw
se = S * P / 12d * Math.pow(1d+P / 12d, N) / (Math.pow(1+P / 12d, N) - 1)
Before your post will be closed, would you like to express your gratitude to any of the people who helped you? When you're done, click I'm done here. Close this post!.
oh god the inconsistency ๐
my mind works in mysterious ways
i just do random spacing and go with it
it's horrible to read lmao
Can also use BigDecimal which has equation stuff built in and also gives you greater control over precision.