Converting Vector2 to integer

Hi

I am having troubles converting a Vector2 x,y to an integer.

var plposx = int(plpos.x);
var plposy = int(plpos.y);

Unity is kicking back this error:

The type ‘int’ does not have a visible constructor that matches the argument list ‘(System.Object)’.

thanks

var x : int = pos.x; // or parseInt(pos.x);
var y : int = pos.y;