Skip to main content

计算库(整合decimal)

Project description

强大的计算工具(整合decimal)

解决de问题

  • 使用decimal库,防止0.1+0.2=0.30...4的局面
  • 每个方法皆可输入多个数字,拒绝addition(1, addition(2, 3))

多功能

  • 额外添加StringsCalculator

调用方法

from LscCalculator import *

"""
nc / NC / NumbersCalculator : 计算数字运算的类
addition : 加法
subtraction : 减法
multiplication : 乘法
division : 除法
power : 乘方
factorial : 阶乘
sqrt : 开根号
"""

print(nc().addition(1, 2, 3, 4)) 

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

lsccalculator-0.0.4.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

lsccalculator-0.0.4-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file lsccalculator-0.0.4.tar.gz.

File metadata

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

File hashes

Hashes for lsccalculator-0.0.4.tar.gz
Algorithm Hash digest
SHA256 ab9f6e3e38ae30cf71ae14b3481b618dff86545a5f9174e5da4967e534e2c025
MD5 d673e6b1f4e404673b36a46bd3eccb45
BLAKE2b-256 ab7edbb5bb8e26fc830bc2eebc3005c3b2e589c14cc40ed8a57c3b1aa085be27

See more details on using hashes here.

File details

Details for the file lsccalculator-0.0.4-py3-none-any.whl.

File metadata

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

File hashes

Hashes for lsccalculator-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b5cc9cf27b4bba6bbccedda9fb57ebc95e2be25243684b29c5dbe23a958bf43a
MD5 b3f64e4e297d5cc9a4f4dc4642d45898
BLAKE2b-256 dbedad20fee056cb1791b90c12586fd740fd6e8e750a6fbee050347ea32f784b

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