Java Double isFinite() methodThe isFinite() method of Java Double class returns true if the argument passed is a finite floating-point number, otherwise returns false(in case of NaN and infinity arguments). SyntaxParametersd- This is the double-precision number to be tested. Return valueThe isFinite() method returns true when finite floating-point value is passed as argument, otherwise returns false. Example 1Output: Value returned is : false Example 2Output: Returned result = true Returned result = true Returned result = false Returned result = false Next TopicJava-double-isinfinite-method |
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