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.

Source Distribution

num2word-1.0.0.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

num2word-1.0.0-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file num2word-1.0.0.tar.gz.

File metadata

  • Download URL: num2word-1.0.0.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.5.2

File hashes

Hashes for num2word-1.0.0.tar.gz
Algorithm Hash digest
SHA256 4ab09519786962b51aaf1f6c866bd32173032e4464b25c0cbfe11dccc0bdc845
MD5 b330513354e7d7aaf0976db623cc3617
BLAKE2b-256 1c2ab7d388aaba6ce30f0dcabb4a32dd6fa0760c8a4f84114fe540e5236e8e9f

See more details on using hashes here.

File details

Details for the file num2word-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: num2word-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.5.2

File hashes

Hashes for num2word-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fa6ccd4eccc1e5fa8df39d5298193a3667c75fc201586ae84c49d7d211d32ade
MD5 d19529be78f75667df4f1a81aa1d84a4
BLAKE2b-256 5bd72cdc30636974c44fa4ec1a27c8b7d05794bd86f8ab5310b38e0f3e15d3d9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page