ancient_number_converter 0.0.1 copy "ancient_number_converter: ^0.0.1" to clipboard
ancient_number_converter: ^0.0.1 copied to clipboard

The ancient_number_converter library allows you to format and parse ancient numbers.

The ancient_number_converter library allows you to format and parse ancient numbers.

Features #

You can format and parse the numbers of the Romans, ancient Egyptians and Mayas.

Getting started #

The interface is AncientNumberConverter which has the methods String? format(num number) and double? tryParse(String number). The available implementation are:

  • HieroglyphConverter
  • MayanNumberConverter
  • RomanNumberConverter

Usage #

final roman = RomanNumberConverter();
final year = 'MMXXV';
print('Example ${roman.format(1)}:');
print('This lib was first published in $year (${roman.tryParse(year)?.toInt()})');
0
likes
160
points
26
downloads

Publisher

unverified uploader

Weekly Downloads

The ancient_number_converter library allows you to format and parse ancient numbers.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on ancient_number_converter