IntegerDigits
[n]IntegerDigits
[n, b]IntegerDigits
[n, b, length]IntegerDigits[76543]
The same thing specifying base 10 explicitly:
IntegerDigits[76543, 10]
The sign is discarded:
IntegerDigits[-76543]
Just the last 3 digits:
IntegerDigits[76543, 10, 3]
A geeky way to relate Christmas with Halloween is to note that Dec(imal) 25 is Oct(al) 31
IntegerDigits[25, 8]