NaN question | Sololearn: Learn to code for FREE!
+ 1

NaN question

How can I correctly handle NaN? Input something like 4e5(since E can be typed with number inputs) It should return NaN How can I make it display "Invalid Input" instead?

30th Sep 2018, 12:12 AM
Daniel Cooper
Daniel Cooper - avatar
0 ответов