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:
import scinot
scinot.parse(341283875012.238)
>> '3.41×10^11'
You can also specify the number of significant figures to display; it defaults to 3.
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.2.tar.gz
(1.9 kB
view hashes)
Built Distribution
scinot-0.0.2-py3-none-any.whl
(3.3 kB
view hashes)