Java Math.sqrt() methodThe java.lang.Math.sqrt() is used to return the square root of a number. SyntaxParameterReturn
Example 1Test it NowOutput: 9.0 Example 2Test it NowOutput: NaN Example 3Test it NowOutput: NaN Example 4Test it NowOutput: Infinity Example 5Test it NowOutput: 0.0
Next TopicJava Math
|