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.1.0.tar.gz (3.0 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.1.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lsc_numbers-1.1.0.tar.gz
  • Upload date:
  • Size: 3.0 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.1.0.tar.gz
Algorithm Hash digest
SHA256 11aa2e51ef1cdaa11068050eea02e047a1b0d97be3f1898b7a9fae3c87797151
MD5 2d63033bce7ff055be355e3cd665e2df
BLAKE2b-256 aff9b6a50f07df22e79c166cf52910c8d1780927e9ff9a73e5e995c284992f06

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lsc_numbers-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.4 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ea9d12561c7f188b440314dc375f206f439880f33734ee9ad34d1f2c210ed20d
MD5 cdbee8f20befbfc56e28ce8c71c6dd59
BLAKE2b-256 a6363687a13eef0358b86d91ddf34677171223d9987463f187cb341a79014854

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