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-1.0.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

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

lsccalculator-1.0.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for lsccalculator-1.0.0.tar.gz
Algorithm Hash digest
SHA256 98bfeafa9a6ad8824dfb4ddc3cc895b032ce332cbef0ea2787e0a3d64d3182a6
MD5 2cab0434e21b975a64f52a8988f76e51
BLAKE2b-256 8fabc3ecaaa0b515effaa2fe0f02e14db423f8ebb3c74f1be94e554117d224bd

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for lsccalculator-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0a53a467b290d6ae04814a33c1f0545991fe84d1adae3877987dbba469cf6dfd
MD5 da96fb8cbb57af8141a5f18ac543f5f6
BLAKE2b-256 42cc8c27a624c1ec4c644ab7db821ae61ff3c986c4c3beee14b7797d74b04276

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