This result doesn't make sense. NaN stands for "Not a Number" and is the result of trying to apply a mathematical operation on a non-number value, which you're not doing in the code you posted, so it has to come from somewhere else... You should either post the full code used, or the file.
↧