num2text 0.0.1
num2text: ^0.0.1 copied to clipboard
A versatile Dart library for converting numbers (integers, decimals, BigInt) into their word representations across 69 languages, with support for currency, years, and language-specific options.
0.0.1 2025-18-04 #
- Initial release of the
num2textlibrary. - Core functionality for converting numbers (
int,double,BigInt,String,Decimal) to words. - Support for 69 languages via the
Langenum. - Language-specific options classes (e.g.,
EnOptions,ViOptions) for customization. - Support for:
- Cardinal number conversion (up to 24 digits).
- Currency formatting (
currency: trueoption andCurrencyInfo). - Year formatting (
format: Format.year). - Decimal number formatting (integer and fractional parts).
- Negative number handling.
- Large numbers using standard scales (thousand, million, billion, etc.).
- Basic error handling and optional fallback string.
- Includes utility functions for number normalization.
- Comprehensive tests for each supported language located in
test/lang/.