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)>
Metadata
Release files for range-digit 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| range_digit-0.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Release files / range_digit-0.3.1-py3-none-any.whl
| Download URL | range_digit-0.3.1-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
18e7fec257551be03b2551d4f345d63afebec288fa7d4e643ff65b4feb78915d
|
|
BLAKE2b-256 checksum How to use checksums |
40fe71b29068464ecd0ef237f3b01f757aa12f66c05a1c7d892c2495cbcdff9b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.5
|