Break numbers into digits with their names
Project description
digitize - open source available library for determining the bit depth of a number with the output of its name
from digitize import Exact
var = Exact
print(var.discharge(5000)) # Output: 5,000
print(var.discharge(51030.4853)) # Output: 51,030.48
print(var.discharge(51030.4853, True, "en/ru")) # Output: 51,030.48 thousand
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
digitize-1.1.1.tar.gz
(2.6 kB
view details)
File details
Details for the file digitize-1.1.1.tar.gz
.
File metadata
- Download URL: digitize-1.1.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 512056790f863aed60534df88a849d56758ca8e053d0ef2e95d0a5d78168bab7 |
|
MD5 | 1bc6ceb1ee2db5f7acb8836837f7c212 |
|
BLAKE2b-256 | 3840789fc2269db99379990bf0768bf22f0430870d26ed75aa2338e7f0614b8e |