Skip to content
pubscout

number_to_words_english

3.0.4, released a year ago by an unverified publisher

Convert numbers to words, ordinals, and currencies in 12 languages.

WASM-ready
$ flutter pub add number_to_words_english
Source repository

What it does

Converts numeric values (integers, floats, and strings) into written word representations using extension methods or static APIs. It supports 12 different languages, ordinal numbers, and major currencies.

AI-written summary of version 3.0.4, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to spell out currency amounts for invoices or receipts in multiple languages.
  • You are building localization features that require spelling out numbers or ordinals.

Skip it when

  • You only need standard number formatting and locale-aware number symbols rather than spelling out numbers in words.

Strengths

  • Supports 12 languages with grammar rules for large numbers and scales.
  • Provides convenient extension methods for numbers (.toWords(), .toUSD(), .toOrdinal()).
  • No external dependencies.

Weaknesses

  • Limited to the 12 built-in languages and 12 currencies provided by the package.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
import 'package:number_to_words_english/number_to_words_english.dart';

void main() {
  print(123.toWords()); // 'one hundred twenty-three'
  print(123.45.toUSD()); // 'one hundred twenty-three dollars and forty-five cents'
}

Alternatives

Packages that do the same job and could replace number_to_words_english.

  • number_to_words

    Convert numbers into words by locale ID supporting English and Malayalam.

  • numeral

    Composable number formatting and parsing for decimals, compact values, percentages, and locales.

  • spelling_number

    Flutter plugin to convert numbers into their written word form across 14 languages.

  • locale_plus

    Access native device locale data like language, country code, time zone, and number formats.