Function core::char::from_digitUnstable [-]  [+] [src]

pub fn from_digit(num: uint, radix: uint) -> Option<char>

Converts a number to the character representing it

Return value

Returns Some(char) if num represents one digit under radix, using one character of 0-9 or a-z, or None if it doesn't.

Panics

Panics if given an radix > 36.