Fix typeof() for numbers

fixes #8028
This commit is contained in:
Gunnar Beutner 2014-12-09 16:43:09 +01:00
parent a59bcdc26c
commit 44b87aeff6
1 changed files with 1 additions and 1 deletions

View File

@ -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: