This module returns numbers to a list of words
Project description
This module returns numbers to a list of words
Dependencies
To use this module you need to install humanize and python
Install
pip install IntegerInWordsLister
Usage
from IntegerInWordsLister.InWordsLister import NumericLister
inwords_lister = NumericLister(222)
print(inwords_lister.calculate())
numbers = [120000000000, 9000870000, 245085002120, 23]
for num in numbers:
inwords_lister = NumericLister(num)
print(inwords_lister.calculate())
Output
['200', 'and', '20', 'and', '2'] ['100', 'and', '20', 'milliard'] ['9', 'milliard', 'and', '800', 'and', '70', 'thousand'] ['200', 'and', '40', 'and', '5', 'milliard', 'and', '80', 'and', '5', 'million', 'and', '2', 'thousand', 'and', '100', 'and', '20'] ['20', 'and', '3']
تبدیل اعداد به حروف
این ماژول اعداد را به لیستی از کلمات برمی گرداند
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for IntegerInWordsLister-1.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b796270d8209a0cefdb40b3263ab54b40bc56a6243238c3825a6b055ff2ab552 |
|
MD5 | 86d0c3697dab134216a8d0fdb92e328f |
|
BLAKE2b-256 | 8680c574de699ba532901e7aec9c972530cfd470bb03dbce4aa9a71a8316bb82 |