I just wouldn't have thought a cast would be necessary to assign the results of a division to a floating point variable irregardless of the variable types involved in the division. I'd have expected truncation if the result would be assigned to an integer; but not with a float.
Ancient Dragon commented: Good book suggestion, I've used it myself and agree with you. +28
jonsca commented: Great Effort! +2
Ancient Dragon commented: excellent link +26