Convert Vec3() to integer?

Another one, works with vectors of any dimension (e.g. 2,3,4):

vi = map(int, v)