Search packages, repositories and app categories

GitHub repositoryBenjith/NumberToWords

NumberToWords

Flutter package convert number into words by localeID

NumberToWords project cover
Stars
10
Forks
13
Last push (UTC)
Aug 8, 2024
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

number_to_words

API convert number to words by localeID. Now only support English And Malayalam. please contribute .

Usage

To use this plugin, add number_to_words as a dependency in your pubspec.yaml file.

Example

import 'package:number_to_words/number_to_words.dart';

void main() {

   print(NumberToWord().convert(Locale.ml, 21)); //ഇരുപത്തിയൊന്ന്
   print(NumberToWord().convert(Locale.ml, 10)); //പത്ത്
   print(NumberToWord().convert(Locale.ml, 1000)); //ആയിരം
   print(NumberToWord().convert(Locale.en_ind, 1000)); //thousand
   print(NumberToWord().convert(Locale.en_ind, 100)); //hundred
   print(NumberToWord().convert(Locale.en_ind, 10)); //ten
}

Benjith Kizhisseri GitHub avatar
GitHub author

Benjith Kizhisseri ↗

Software developer from 🇮🇳. I love creating apps with Flutter and exploring new technologies. Check out my repositories and feel free to connect with me.

ZoondiaMalappuramOfficial website ↗
LanguagesDart

Packages published by this repository

Dependencies used

Dependency list 1 items

  • flutter_testDevelopment{"sdk":"flutter"}

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗