>digit ( n -- ch )


Vocabulary
math.parser

Inputs
nan integer between 0 and 15


Outputs
cha character


Word description
Outputs a character representation of a digit.

Notes
This is one of the factors of number>string.

Definition


: >digit ( n -- ch ) dup 10 < [ 48 + ] [ 10 - 97 + ] if ; inline