Expand description
§Romans
This crate is an utility to convert and represent Roman numerals.
§Example
use romans::prelude::*;
assert_eq!(123, Numeral::try_from("cxxiii").unwrap().value());
assert_eq!("CXXIII", Numeral::from(123).as_string());This crate is an utility to convert and represent Roman numerals.
use romans::prelude::*;
assert_eq!(123, Numeral::try_from("cxxiii").unwrap().value());
assert_eq!("CXXIII", Numeral::from(123).as_string());