testing number conversion to null instead of NaN
cast toInteger and toNumber to null instead of NaN because you can still do math with null