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.1.tar.gz
(10.2 kB
view hashes)
Built Distribution
Close
Hashes for prefixed-0.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51c8f54f1fac4e6e139a239fedce5b9b6810cccc219c13fb5e3919cf6d2910e9 |
|
MD5 | 38edd428ce9d25ac63a1d87875641876 |
|
BLAKE2b-256 | ffc6c52dd2c97ee83cf0097aacfe454d21837cc3bed1e7c139cb66f6131b71f0 |