Use integerValue instead of intValue for integers