numerus 1.1.0-nullsafety.1 copy "numerus: ^1.1.0-nullsafety.1" to clipboard
numerus: ^1.1.0-nullsafety.1 copied to clipboard

outdated

Dart extensions for translating integers to Roman numerals and Roman numerals strings to integers.

Numerus #

Dart extensions for translating decimal numbers to Roman numerals and vice versa.

Negative numbers and numbers greater than 65535 are not supported. Functions will return null in place of generating nonsense,

Coverage

Examples #

import 'package:numerus/numerus.dart';

main() {
  var n = 418;
  print(n.toRomanNumeralString());
  // 'CDXVIII'

  var str = 'CDXVIII';
  print(str.isValidRomanNumeral());
  // true
  print(str.toRomanNumeralValue());
  // 418  
}

Features and bugs #

Please file feature requests and bugs at the issue tracker.

15
likes
0
pub points
90%
popularity

Publisher

verified publishernoonshy.com

Dart extensions for translating integers to Roman numerals and Roman numerals strings to integers.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on numerus