diff --git a/lib/base/scriptutils.cpp b/lib/base/scriptutils.cpp index e91a700f9..f5fceb72a 100644 --- a/lib/base/scriptutils.cpp +++ b/lib/base/scriptutils.cpp @@ -217,7 +217,7 @@ Type::Ptr ScriptUtils::TypeOf(const Value& value) case ValueEmpty: return Type::GetByName("Object"); case ValueNumber: - return Type::GetByName("double"); + return Type::GetByName("Number"); case ValueString: return Type::GetByName("String"); case ValueObject: