Dim mugen As Double = 1 / 0 Dim nan As Double = mugen * 0 Dim i As Integer = CInt(nan) '←ここで OverflowException