+ 5

What is NaN in java??

11th Jul 2019, 6:41 AM
Jatin Srivastava
Jatin Srivastava - avatar
6 Réponses
11th Jul 2019, 6:43 AM
David Ashton
David Ashton - avatar
+ 6
Not a number The NaN property represents "Not-a-Number" value. This property indicates that a value is not a legal number. The NaN property is the same as the Number.Nan property. Tip: Use the isNaN() global function to check if a value is a NaNvalue. Src W3schools
12th Jul 2019, 6:55 AM
Akubia Godwin Maxwell
Akubia Godwin Maxwell - avatar
+ 5
Not_A_Number. It's on Java+ JavaScript
11th Jul 2019, 7:57 AM
Ayan Fox
Ayan Fox - avatar
+ 3
Not a number; applied to numeric values that represent an undefined or unrepresentable value, such as zero divided by itself.
12th Jul 2019, 5:22 AM
🇵🇰 Pakistani🇵🇰 😎Pervez😇
🇵🇰 Pakistani🇵🇰 😎Pervez😇 - avatar
+ 3
Nan stands for "not a number".
12th Jul 2019, 11:11 AM
DERP
DERP - avatar
+ 2
IsNaN = is Not a number, is very useful to compare different values, if the value is a number it will return TRUE but if it's not it will take the value of FALSE
12th Jul 2019, 3:57 PM
Mateo Serna Lopera
Mateo Serna Lopera - avatar