This crate adds a tool to format a number in a base in range [2, 36], since this feature was removed from the standard library.

Add the crate, import radix in scope, and you are ready to go:

rust extern crate radix_fmt; use radix_fmt::radix;

Note that you also have one specific function for each radix that does not already exists in the standard library, e.g. radix_3 to format a number in base 3.

Examples:

```rust use radix_fmt::radix; use std::fmt::Write;

let n = 35;

// Ouput: "z" println!("{}", radix(n, 36)); // Same ouput: "z" println!("{}", radix_36(n)); ```

You can use the alternate modifier to capitalize the letter-digits:

```rust use radix_fmt::radix; use std::fmt::Write;

let n = 35;

// Ouput: "Z" println!("{:#}", radix(n, 36)); ```

FAQ: