Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

check if something is nan python

import math
print math.isnan(float('NaN'))OutputTrue
print math.isnan(1.0)OutputFalse
Source by www.kite.com #
 
PREVIOUS NEXT
Tagged: #check #nan #python
ADD COMMENT
Topic
Name
3+8 =