I'm not sure quite what you're trying to do.
123456 divided by 10 would be 12345.6, and since you're using an integer your answer would be 12345. that number, modulo 10, would be the remainder of 12345 again divided by 10, which should be 5. If you're trying to get the 6 first, you want to do just the modulo, not the division. If you don't understand this then you should go search around the web to learn what modulo is.
And it doesn't seem like you understand the << operator either. a left shift is done in BINARY, not in decimal. 12345 in binary is 0b11000000111001, shift that left and you get 0b110000001110010, which is 24690 in decimal. If you are trying to 'shift left' in decimal, just multiply by 10... but if you're planning to just grab the next digit afterward, I don't see too much reason to do this before continuing...