计算库(整合decimal)
Project description
强大的计算工具(整合decimal)
解决de问题
- 使用decimal库,防止0.1+0.2=0.30...4的局面
- 每个方法皆可输入多个数字,拒绝addition(1, addition(2, 3))
多功能
- 额外添加StringsCalculator
调用方法
from lsc_calculator import *
"""
nc: 计算数字运算的实例
addition : 加法
subtraction : 减法
multiplication : 乘法
division : 除法
power : 乘方
factorial : 阶乘
sqrt : 开根号
returned_type : 返回值类型
"""
print(nc().addition(1, 2, 3, 4))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
lsc_calculator-1.0.0.tar.gz
(3.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lsc_calculator-1.0.0.tar.gz.
File metadata
- Download URL: lsc_calculator-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4c81254ffc99d5715672c5f1ec69e850eae97336edd273fe543f9f4367f65ed
|
|
| MD5 |
4f8c3368423a0eeffd899ecd756a2608
|
|
| BLAKE2b-256 |
801c9806ec5eb8f54965d8be20ce391e80dc87be8d308941336568f9a76269c3
|
File details
Details for the file lsc_calculator-1.0.0-py3-none-any.whl.
File metadata
- Download URL: lsc_calculator-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
818357dd6d70de9bd255400b84311884d13859929c1e8284ff164c8391bf0d71
|
|
| MD5 |
bc01e96c28a07a23ace05b54c121bcdf
|
|
| BLAKE2b-256 |
7c2ea660e0442c0501ecc12254ddbd2982f045c6a80d25e869e6be52a2253acf
|