#numeral #numbers #format #integer

kaktovik

Format a number in Kaktovik numerals

5 releases

0.1.4 Apr 30, 2023
0.1.3 Apr 28, 2023
0.1.2 Apr 26, 2023
0.1.1 Apr 25, 2023
0.1.0 Apr 24, 2023

#197 in Value formatting

MIT license

13KB
266 lines

Latest Version Documentation pipeline status

This crate provides a tool to format a number in Kaktovik numerals, which are a base-20 system of numerical digits created by Alaskan Iรฑupiat. To use it, you can create a KaktovikNum object with the number you want to format, and then print it out. Here's an example:

Usage

use kaktovik::*;

fn main() {
    let k = KaktovikNum::new(859);
    println!("{}", k);
}

This will output "๐‹‚๐‹‚๐‹“", which is the Kaktovik numeral representation of the number 859.

No runtime deps