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.1.0.tar.gz
(38.0 kB
view hashes)
Built Distribution
Close
Hashes for prefixed-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 730db6ce52b948c7a8d09e7996b7965af63e6cbdcca579d0752c361cf91d7bd7 |
|
MD5 | 0cc1a31a59b278430630b8b0133572ce |
|
BLAKE2b-256 | 9f05a53dfee3ce7bac7d718f4ccb3905bb7b707db5a2222ad40944f03a9c6094 |