I have a binary number (e.g 111001001). I am trying to get last 5 digits (01001). How can i do this? i thought to store each digit to an arrray and then get the values with a for loop. But is there any better way? I have a binary number (e.g 111001001). I am tr