Number To Vietnamese Words

Pub Version

Convert numbers to words for easy comprehension and readability in the Vietnamese language.

Usage

To use this plugin, add number_to_vietnamese_words as a dependency in your pubspec.yaml file.

Examples

Here are small examples.

print(1.toVietnameseWords()); // Một
print(10.toVietnameseWords()); // Mười
print(2001.toVietnameseWords()); // Hai nghìn không trăm linh một
print((-55).toVietnameseWords()); // Âm năm mươi lăm
print(2023.toVietnameseWords()); // Hai nghìn không trăm hai mươi ba
print(10000000.toVietnameseWords()); // Mười triệu
print(1000000001.toVietnameseWords()); // Một tỷ không trăm linh một

License

BSD-3-Clause (LICENSE)