Skip to main content

Convert any number to word

Project description

Num2Word

This module convert any number/digit to word For e.g. if you pass a number '98498' then, it will return 'Ninety Eight Thousand Four Hundred Ninety Eight'

Installation

Run the following command to install: pip install num2word

Usage

 from num2word import word

 # Generate 'Nine Thousand eighty four'
 word('9284') or word(9284)

 #other examples
 <!-- you can use any bigger number -->
 a = 33221884729877832
 word(a)
 b = '99320489432099000982409203'
 word(b)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for num2word, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size num2word-1.0.0-py3-none-any.whl (9.4 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size num2word-1.0.0.tar.gz (9.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page