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: case ValueEmpty:
return Type::GetByName("Object"); return Type::GetByName("Object");
case ValueNumber: case ValueNumber:
return Type::GetByName("double"); return Type::GetByName("Number");
case ValueString: case ValueString:
return Type::GetByName("String"); return Type::GetByName("String");
case ValueObject: case ValueObject: