Skip to content

This library converts number to word in Indian Number System

License

Notifications You must be signed in to change notification settings

devanandchauhan/NumberToWord

Repository files navigation

NumberToWord

This library convert number to word in Indian Number System.

Example "2309" = "Two thousand three hundred and nine"

Usage

Import the library as following:

import NumberToWord

Use the static function of the NumberToWord as following to convert the number:

NumberToWord.convert(2309)    //Output: Two thousand three hundred and nine

or

Use the extension on Integer as following:

print(2309.toWord)          //Output: Two thousand three hundred and nine

License

NumberToWord is released under the MIT License.

Releases

No releases published

Packages

No packages published

Languages