0 purchases
words numbers
Words Numbers #
WordsNumbers is a Flutter plugin that helps convert text numbers to their corresponding numeric values.
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 :
add the dependency to your pubspec.yaml file.
dependencies:
flutter:
sdk: flutter
words_numbers: ^0.0.3
copied to clipboard
Then, import the package in your Dart code:
copied to clipboard
How to use #
To convert text numbers to numeric values, call the convertTextNumberToString() function:
String result = WordsNumbers.convertTextNumberToString("five hundred twenty-two");
copied to clipboard
This will return the string "522".
Created & Maintained By #
Abdul Rehman
License #
This project is licensed under the MIT License.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.