An example of casting a dobule to an int