ratsstack :
I am trying to get the correct value for:
double poweredValue = Math.pow((1.1),(1 / 365));
Using my scientific calculator I get 1.0002611578760678121616866817054. But Math.pow returns a 1.
How do I get the full value returned?
RR_IL :
double poweredValue = Math.pow((1.1),(1 / 365.0));
System.out.println(poweredValue);
Output - 1.0002611578760678
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=276520&siteId=1