numerus 1.0.2 numerus: ^1.0.2 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
}