Optional
The return value in case of failure.
Consider NaN as failed to parse value.
Fits integer between MIN_SAFE_INTEGER and MAX_SAFE_INTEGER.
Any number.
castToInt
Typecast variable to integer.
The return value in case of failure.