english_numerals 0.0.1 english_numerals: ^0.0.1 copied to clipboard
A package to convert numbers to their English written form, with null safety and no dependency on flutter.
example/english_numerals_example.dart
import 'package:english_numerals/english_numerals.dart';
void main() {
final one = Cardinal(1);
print(one.enUk); // "one"
print(one.enUs); // "one"
print(one.toString()); // "one"
final other = Cardinal(999);
print(other.enUk); // "nine hundred and ninety-nine"
print(other.enUs); // "nine hundred ninety-nine"
print(other.toString()); // "nine hundred ninety-nine"
}