I have a really large number in Perl. I use "bignum". How can I extract single digits from this large number. For example, if I have a number like this, and that get the 3rd digit from the end:
1029384710985234058763045203948520945862986209845729034856
-> 8
Lucas source
share