Android Question How do I split a number into its specific digits

cammel8

Member
Licensed User
Ok, I am trying to take a number that is stored in m original variable that changes all the time and break it part into its individual counterparts. so lets say i had a number stored in originalVariable and it equaled 398. I would want it to store 3 into a variable named firstDigit, 9 in a variable named secondDigit, and 8 into a variable named thirdDigit.

I have searched for a way to do this in the threads but cannot find anything that works and not sure what to look for.

Thank you in advance for any help you can give me.
 
Top