A Dart library to convert numbers into words in the Iraqi dialect. It supports numbers from zero to trillion, including decimal points, and provides smart linguistic processing to conjugate numbers as they are spoken in the Iraqi Arabic language.
- ✅ تحويل الارقام من 0 حتى ترليون
- ✅ دعم الاعداد العشرية (مثال: 123.45 → مية و تلاثة و عشرين فاصلة خمسة و اربعين)
- ✅ تصريف لغوي ذكي حسب العدد
- ✅ خفيفة وسهلة الاضافة الى اي مشروع Dart أو Flutter
- ✅ اختبارات جاهزة للتحقق من الدقة
import 'package:number_to_iraqi_words/number_to_iraqi_words.dart';
void main() {
print(NumberToIraqiWords.convert(123)); // مية و تلاثة و عشرين
print(NumberToIraqiWords.convert(2000)); // الفين
print(NumberToIraqiWords.convert(1250000)); // مليون و ميتين و خمسين الف
print(NumberToIraqiWords.convert(3000000000)); // تلاثة مليارات
print(NumberToIraqiWords.convert(1000000000000)); // ترليون
print(NumberToIraqiWords.convertDouble(12.25)); // اثنعش فاصلة خمسة و عشرين
}
dependencies:
number_to_iraqi_words: ^1.0.0
Then run one of the following commands :
dart pub get
Or :
flutter pub get
dependencies:
number_to_iraqi_words:
path: ./number_to_iraqi_words
Automated verification tests have been set up using the package:test
library to ensure accuracy.
dart test
test/number_to_iraqi_words_test.dart
This library was developed by :
Zain Alabdeen Ali
📍 Iraq / Wasit
MIT License © 2025 Zain Alabdeen Ali
You are free to use, modify, and distribute it, provided that proper credit is given to the original author.