Java Math.log() methodThe java.lang.Math.log() is used to find out the Logarithmic Value of any number. This method returns the natural logarithm (base e) of a double value as a parameter. SyntaxParameterReturn
Example 1Test it NowOutput: 3.6609942506244004 Example 2Test it NowOutput: NaN Example 3Test it NowOutput: Infinity Example 4Test it NowOutput: -Infinity Next TopicJava Math |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India