Skip to main content

`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


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

range_digit-0.3.1-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

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

Hashes for range_digit-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 18e7fec257551be03b2551d4f345d63afebec288fa7d4e643ff65b4feb78915d
MD5 ec4ff6362b5c0e61b52294f32ba7aabb
BLAKE2b-256 40fe71b29068464ecd0ef237f3b01f757aa12f66c05a1c7d892c2495cbcdff9b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page