pub fn to_base(n: u64, base: u32) -> String
Convert n to a string in the given base (2-36).
n
base
use mathverse_core::integer::to_base; assert_eq!(to_base(255, 16), "ff"); assert_eq!(to_base(10, 2), "1010");