public ScriptNumber CreateNumber(object value) { return(Util.IsLongObject(value) ? CreateLong((long)value) : CreateDouble(Util.ToDouble(value))); }