# Function core::fmt::radix [−] [src]

    pub fn radix<T>(x: T, base: u8) -> RadixFmt<T, Radix>

Deprecated since 1.7.0

: not used enough to stabilize

Constructs a radix formatter in the range of `2..36`.

# Examples

#![feature(fmt_radix)] fn main() { use std::fmt::radix; assert_eq!(format!("{}", radix(55, 36)), "1j".to_string()); }

    #![feature(fmt_radix)]

    use std::fmt::radix;
    assert_eq!(format!("{}", radix(55, 36)), "1j".to_string());

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize`)