Java Math.log10() methodThe java.lang.Math.log10() is used to find out the Logarithmic of a number when the base is 10. This method returns the base 10 logarithm of a double value. SyntaxParameterReturn
Example 1Test it NowOutput: 1.5899496013257077 Example 2Test it NowOutput: 5.0 Example 3Test it NowOutput: Infinity Example 4Test it NowOutput: NaN Example 5Test 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