Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

Check whether a double is not a number in java

double delta = -3;
double val = Math.sqrt(delta);
System.out.println(Double.isNaN(val)); // true
 
PREVIOUS NEXT
Tagged: #Check #double #number #java
ADD COMMENT
Topic
Name
2+7 =