Turning Double Into Int Java