Respuesta :

tonb
Not A Number, when you're using a variable that has a bad value due to overflow or lack of assignment.
kanest
NaN stands for Not a Number.

This error appears for a value that cannot be represented by a number. NaN errors usually appear for floating-point calculations that aren't properly accounted for.