`range-digit` is library of decimal digit which has `low` and `sup`.
Project description
description
range-digit is library of decimal digit which has low and sup.
from range_digit import RangeDigit
from decimal import Decimal
d = RangeDigit("1.240")
print(d) # 1.240
print(d - Decimal("1.2")) # 0.040
print(d / 2) # 0.620
print(d.low) # 1.2395
print(d.sup) # 1.2405
print(d.tostr()) # <RangeDigit [1.2395 - 1.2405)>
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file range_digit-0.3.1-py3-none-any.whl.
File metadata
- Download URL: range_digit-0.3.1-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18e7fec257551be03b2551d4f345d63afebec288fa7d4e643ff65b4feb78915d
|
|
| MD5 |
ec4ff6362b5c0e61b52294f32ba7aabb
|
|
| BLAKE2b-256 |
40fe71b29068464ecd0ef237f3b01f757aa12f66c05a1c7d892c2495cbcdff9b
|