#numeral #roman #roman-numerals

roman_numerals_fn

A function to convert integers to their roman numeral representation as strings. Values from 1 to 3999 are possible, otherwise it returns an OutOfRangeError. Zero has no representation in roman numerals.

1 stable release

1.0.0 Dec 10, 2024

#608 in Text processing

Download history 153/week @ 2024-12-09

153 downloads per month

MIT license

7KB
82 lines

stars License: MIT

Crate roman_numerals

A library to convert integers to their roman numeral representation as strings.

Description

This crate contains essentially only one function to_roman_numeral converting integers to roman numerals as strings.

Author

Pierre Thibault 2024-12-08

License

MIT https://opensource.org/license/MIT


lib.rs:

A function to convert integers to their roman numeral representation as strings.

Values from 1 to 3999 are possible otherwise, it returns an OutOfRangeError. Zero does not exist in roman numerals.

Dependencies

~13KB