- digit-value charprocedure
This procedure returns the numeric value (0 to 9) of its argument if it is a numeric digit (that is, if char-numeric? returns #t), or #f on any other character.
(digit-value #\3) ==> 3 (digit-value #\x0664) ==> 4 (digit-value #\x0AE6) ==> 0 (digit-value #\x0EA6) ==> #f