Description: Definition of an operation to obtain the k th digit of a nonnegative
real number r in the positional system with base b . k = - 1
corresponds to the first digit of the fractional part (for b = 10
the first digit after the decimal point), k = 0 corresponds to the
last digit of the integer part (for b = 10 the first digit before
the decimal point). See also digit1 . Examples (not formal):
( 234.567 ( digit `10 ) 0 ) = 4; ( 2.567 ( digit10 ) -2 ) = 6;
( 2345.67 ( digit` 10 ) 2 ) = 3. (Contributed by AV, 16-May-2020)