I want to convert int to byte using setbyte. So planning to do with subroutine, but I need to split the integer with individual digits. For example:
- int 21
- split: 2 and 1
- convert 2 to “2”
- convert 1 to “1”
- concat “2” and “1”
How I can split int 21?
Thanks!
