3.0 - Replace intval() with int typecasts