Skip to main content

Shortens your numbers

Project description

This module shortens numbers to floats given to function within. All you need to do is give it the number and the number of letters, and it will return them.


from numShortener import *

print shortenNum(123, 1) >>> 123.00 print shortenNum(10**4, 2) >> 10.00Th

Project details

Release history Release notifications

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page