Se devi farlo in vb:

codice:
Dim miaVar As Integer
miaVar = CInt("8")