english_numerals

Last updated:

0 purchases

english_numerals Image
english_numerals Images
Add to Cart

Description:

english numerals

Simple package to transform numbers into English numerals without flutter dependency and with null safety, as opposed to other obsolete packages.
Features #
Only integer cardinals are currently available, in the non-inclusive range ]-10^66, 10^66[
Usage #
It can be used to create a Cardinal number from int or BigInt:
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"
copied to clipboard
It can also be used the other way around to convert cardinal text to int and BigInt:
final uk = Cardinal("nine hundred and ninety-nine");
print(uk.toInt()); // "999"
final us = Cardinal("nine hundred ninety-nine");
print(us.toInt()); // "999"
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.