Skip to main content

Rounds a measurement value and its uncertainty to a specified number of significant digits.

Project description

Rounds a measurement value

Rounds a measurement value and its uncertainty to a specified number of significant digits.

Examples:

    >>> precise_rounding(123.45678, 0.01234)
    ('123.457', '0.013')

    >>> precise_rounding(123.45678, 0.515, 1)
    ('123.5', '0.6')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

precise_rounding-0.1.4.tar.gz (4.6 kB view details)

Uploaded Source

File details

Details for the file precise_rounding-0.1.4.tar.gz.

File metadata

  • Download URL: precise_rounding-0.1.4.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.1

File hashes

Hashes for precise_rounding-0.1.4.tar.gz
Algorithm Hash digest
SHA256 515911688844abe349b2ace9cf1a6c3b564b391603ab8cc87778f06687c2d133
MD5 281dfb18aa2503c688ca915ced641c97
BLAKE2b-256 b6c761232ad401d5368b6dda3b6f18582bc519fac218815b086d50614183e387

See more details on using hashes here.

Supported by

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