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 hashes)