Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java float 0/0

assertEquals(Float.NaN, 0f / 0);
assertEquals(Double.NaN, 0d / 0);
Source by www.baeldung.com #
 
PREVIOUS NEXT
Tagged: #java #float
ADD COMMENT
Topic
Name
1+4 =