Answers for "how to check if a number is equal to nan"

2

python checking if something is equal to NaN

# Test to see if it is equal to itself
def isNaN(num):
    return num != num
Posted by: Guest on October-01-2020
1

NAN is equal to NAN?

var_dump(NAN == NAN); // false
var_dump(NAN === NAN); // false
Posted by: Guest on November-24-2021

Code answers related to "how to check if a number is equal to nan"

Browse Popular Code Answers by Language