Skip to main content

用于精确计算的数字类

Project description

用于精确计算的数字类

解决の问题

  • lsc-calculator库,防止0.1+0.2=0.30...4的局面

调用方法

from lsc_numbers import *

"""
Number : 数字类
"""

print(Number(1))
print(Number("1.0")) 

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

lsc_numbers-1.0.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lsc_numbers-1.0.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file lsc_numbers-1.0.0.tar.gz.

File metadata

  • Download URL: lsc_numbers-1.0.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for lsc_numbers-1.0.0.tar.gz
Algorithm Hash digest
SHA256 24f7bb0befea86cb3882c8c4d98326e64e28970d17c080e5dbb375a300361d34
MD5 7ab1fc3dbd4413d259e6e6eec7acb1a9
BLAKE2b-256 bbf91e6334dd67cec35d6c75607fe23ac9672f03b677562d3472fdd2cd8b6c16

See more details on using hashes here.

File details

Details for the file lsc_numbers-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: lsc_numbers-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for lsc_numbers-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 809a3ee065c480570b4f60b1e8cbaea523abee97d4e78c00739de509ee2b38d7
MD5 057fc281625f5e9c3fc6e867c83717b0
BLAKE2b-256 ae197ee24cf23b1cbccb9850ff44f69ba1f828a2fafeff318e6a3a9fb6c3a1bd

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