The first step in ToInteger is to call ToNumber.