numerus 1.1.1 numerus: ^1.1.1 copied to clipboard
Dart extensions for translating integers to Roman numerals and Roman numerals strings to integers.
import 'package:numerus/numerus.dart';
void main() {
var n = 418;
print(n.toRomanNumeralString());
// 'CDXVIII'
var str = 'CDXVIII';
print(str.isValidRomanNumeral());
// true
print(str.toRomanNumeralValue());
// 418
}