Throw exception if number option is NaN ( typeof(NaN) is 'number')