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.

Example:

from numShortener import *

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

Project details


Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page