Perl: int() function: isolating a digit
Tutoring computer science, extracting a digit is a suggested exercise. The tutor shows a use of Perl’s int() function. Let’s imagine you want to find the hundred-thousands digit of an input number. You can do so with the following code: …