From manual:
DIG returns the value of a decimal digit. Input the digit number (0 – 9, with 0 being the rightmost digit). DIG returns the value of the decimal digit that you specified. DIG is commonly used to distill BCD digits from numeric values and to isolate single digits for display on seven-segment LCD.
B0 = 123 ' Set B0 to 123
B1 = B0 DIG 2 ' Sets B1 to 1 (digit 2 of 123)
Bookmarks