Function newbase60::num_to_sxg[][src]

pub fn num_to_sxg(n: u128) -> String

Convert a number into its New Base 60 representation.

For more information, see this link.

Examples

Basic usage:

use newbase60::num_to_sxg;

assert_eq!(num_to_sxg(1337), "NH".to_string());