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'
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
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
scinot-0.0.1.tar.gz
(1.7 kB
view hashes)
Built Distribution
scinot-0.0.1-py3-none-any.whl
(3.1 kB
view hashes)