Somebody was just being explicit about the type conversions. You would get the same thing by just saying
since the assignment would have to do the conversion silently as well. But at some point you're going to have to convert back to a float, since that is what is returned.Code:dumintpart = temp;