A package that offers an EEvalue class, easilly letting you find nearest E-series values and printing with Si prefixes.
Project description
EEValues
A simple class for dealing with engieering values
Will print with Si prefix, and has an easy method to get the closest E-series value.
>>> from eevalue import EEValue as EEV
>>> R = EEV(18.91)
>>> R.E(48, "ceil")
19.6
>>> EEV(17950.10).E(192,"floor")
17.8 k
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
eevalue-1.1.0.tar.gz
(3.0 kB
view hashes)