Skip to content

A package to convert very large numbers into human readable text.

License

Notifications You must be signed in to change notification settings

MBmasher/big-num-format

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

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.3376073556UDe'

About

A package to convert very large numbers into human readable text.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages