Prefixed alternative numeric library
Project description
Prefixed provides an alternative implementation of the built-in float
Key differences:
Format type ‘h’ will output with an SI prefix (ex: k for 1000)
Format type ‘j’ will output with an IEC prefix (ex: Ki for 1024)
Format type ‘J’ will output with an IEC prefix minus the i (ex: K for 1024)
- When initializing from strings, SI and IEC prefixes are honored
SI Example: Float(‘3k’)
IEC Example: Float(‘3Ki’)
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
prefixed-0.0.2.tar.gz
(10.0 kB
view hashes)
Built Distribution
Close
Hashes for prefixed-0.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6016193276a7de8fd60b8bd6858247fec5e0aa5e6d6ea776daa8728ecb9fe507 |
|
MD5 | 858924b2cb0174dc77ec77eb2c35afce |
|
BLAKE2b-256 | dc9a11255da91d7839a3dcd8a5f4fae996c7b8942996d971f8a30732d4aa3197 |