Standard Type Conversion
In addition to user-definable type conversions, the compiler also performs standard type conversions. In the previous example, an int variable is assigned to a euro object by this method. Example: int wholePart = oneEuro; This first converts a Euro object to double and then to int, that is, the cents are truncated.