Words Numbers

WordsNumbers is a Flutter plugin that helps convert text numbers to their corresponding numeric values.

Github open issues

Features

  • Convert text numbers to numeric values
  • Easy to use

Objective

This plugin was designed to help developers convert text numbers to their corresponding numeric values with ease.

Usage

Example

To use this package :

dependencies:
  flutter:
    sdk: flutter
  words_numbers: ^0.0.3

Then, import the package in your Dart code:

How to use

To convert text numbers to numeric values, call the convertTextNumberToString() function:

String result = WordsNumbers.convertTextNumberToString("five hundred twenty-two");

This will return the string "522".

Created & Maintained By

Abdul Rehman

License

This project is licensed under the MIT License.

Libraries

words_numbers