pub fn max_numeric(chars: u8) -> u64Expand description
Finds the maximum int that can be represented with chars digits
use letter_sequence::sequence::renderer;
// Simple string comparison for digits.
assert_eq!( renderer::max_numeric(i).to_string(), "9".repeat(i as usize) );