What is the type of NaN and Why?
3 Likes
naN is - “not a number”
1 Like
NaN means Not a Number and its type is Number, because it is specifying input is not a number
1 Like
Number, anything that is not a number on which we are trying to perform some calculation, it gives NaN
1 Like
NaN is not a number. is numeric data type
1 Like
NaN = Not a Number ,undefined value, value cannot be represent, ( floating-point)
1 Like
NaN stands for “Not a Number,” and it is a specific value that represents the result of an undefined or unrepresentable mathematical operation.
1 Like
NaN= NOT A NUMBER that means undefined value.which can not represented.
1 Like