1 unstable release
0.1.3 | Nov 5, 2021 |
---|---|
0.1.2 |
|
0.1.1 |
|
0.1.0 |
|
#16 in #roman
9KB
223 lines
Ramenon
A Rust library to convert between integers and roman numerals.
lib.rs
:
Roman numerals converter
Quick Start
use ramenon::*;
let int = 3_888;
let roman = "MMMDCCCLXXXVIII";
let roman_to_int = to_int(roman);
let int_to_roman = to_roman(int);
assert_eq!(int, roman_to_int.unwrap());
assert_eq!(roman, int_to_roman.unwrap().as_str());