How to determine if a number is valid, NaN or Inf?
You can validate if a number is a valid number by using this simple trick. Plug the number on both inputs of Equal Numbers
and if it outputs True
then it's a valid number else it's either NaN
or Inf
.