big-num-format-0.4
توضیحات
A package to convert very large numbers into human readable text.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | big-num-format-0.4 |
| نام | big-num-format |
| نسخه کتابخانه | 0.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | MBmasher |
| ایمیل نویسنده | mbmasher@gmail.com |
| آدرس صفحه اصلی | https://github.com/MBmasher/big-num-format |
| آدرس اینترنتی | https://pypi.org/project/big-num-format/ |
| مجوز | - |
# big-num-format
big-num-format is a package which converts very large numbers into human readable text.
### Installation
Simply type the following in a command line to install the package:
`pip install big-num-format`
### Usage
Use the format_num() function to format numbers.
e.g.
```python
from big_num_format import *
format_num(123456789.55)
# '123 million, 456 thousand and 789.55'
format_num(1e50/3, shorten=True, precision=5, decimal_precision=10)
# '33QDe 333qDe 333TDe 333DDe 333.3359375UDe'
```
نحوه نصب
نصب پکیج whl big-num-format-0.4:
pip install big-num-format-0.4.whl
نصب پکیج tar.gz big-num-format-0.4:
pip install big-num-format-0.4.tar.gz