Sending an int. Xbee

I've been trying to send an int from an xbee to other xbee.

i have
int x, y, z;

when i send those values, i receive in the other side de ascii code of each of the digits of this values, is there a way to get the value of that variables instead of the ascii code of each one of their digits?

Post the source code that you are using in both sides if you want people to look at your problem. My guess it that you should be using

Serial.print(x>>8,BYTE); //send first 8 bits
Serial.print(x & 0x00FF,BYTE); //send last 8 bit

To send the int value via the serial port instead of the ASCII reprentation of the int value.