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.1.tar.gz (3.2 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.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lsccalculator-0.0.1.tar.gz
  • Upload date:
  • Size: 3.2 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.1.tar.gz
Algorithm Hash digest
SHA256 0b0addf3bc11c67f8e15fc0d2ddd6fef26ba5237456232e95b31549614e6f3bd
MD5 de04f8ac7df56cb0495811b077b89ed7
BLAKE2b-256 6eab7e556221e6e3f09f862abccff38262b2f12fb2be080e64630053c4366d47

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lsccalculator-0.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3a5a1db510551fe5b613106b942b4fc81c4d904b96d7954264a5290c8d5c3873
MD5 9a663a8a0054b40de06d60c11e3ed23f
BLAKE2b-256 a5d3fc9b268089e993d3ce6f1d56cf7246cb4542eb4285d423a797d89dd2770e

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