flutter_number_to_words_english
a flutter/dart package that converts number to words (english language)
flutter (null safety)
flutter (channel stable, 2.5.2, locale en-us)
- flutter version 2.5.2
- dart version 2.14.3
usage
import 'package:number_to_words_english/number_to_words_english.dart';
numbertowordsenglish.convert(55);
//'fifty-five'
numbertowordsenglish.convert(100000);
//'one hundred thousand'
numbertowordsenglish.convert(13578921);
// 'thirteen million five hundred seventy-eight thousand nine hundred twenty-one'
numbertowordsenglish.convert(123456789);
// 'one hundred twenty-three million four hundred fifty-six thousand seven hundred eighty-nine'
Comments are closed.