Skip to main content

Express numbers in scientific notation.

Project description

This package expresses numbers in scientific notation, in formatted
strings. It's intended use to to make computational results easily readable.

Example use:

.. code-block:: python
import scinot
scinot.parse(341283875012.238)
>> '3.41×10^11'

You can also specific the number of significant figures to display; it
defaults to 3.

.. code-block:: python
import scinot
scinot.parse(-.00000409348, 2)
>> '-4.1×10^-6'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scinot-0.0.1.tar.gz (1.7 kB view hashes)

Uploaded Source

Built Distribution

scinot-0.0.1-py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 3

Supported by

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