select char from integer

hi,

i have a integer:

int numx=548653;

i want to select first and second character to a new int variable:

so int numy=54;

can i do ?

Hello,

Divide by 10000