A simple Python library used to calculate the final amount for the given tax rate or discount rate.
Project description
Usage
To use the calculateDiscountTax package, you can utilize its various calculations functions such as calculateTax, calculateDiscount. Below is a quick example demonstrating how to use these functions.
Example Code
from calculateDiscountTax import calculateTax,calculateDiscount
print("Tax Amount:", calculateTax(amount,tax_rate)) #100,5.0 - returns 105
print("Discount Amount ", calculateDiscount(amount,discount_rate)) #100,10 - returns 90
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
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 calculatediscounttax-0.3.0.tar.gz.
File metadata
- Download URL: calculatediscounttax-0.3.0.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
022d09ff3f644aa863525d0f4af452c9b6ab0255e9f671992e79ad3045462060
|
|
| MD5 |
469a282ea07893e716fb8ca83b3bc020
|
|
| BLAKE2b-256 |
6d5653906d64803577eb5c91cd710f9cb4df5a8e5c146e48e0ad3d12cd1d473c
|
File details
Details for the file calculatediscounttax-0.3.0-py3-none-any.whl.
File metadata
- Download URL: calculatediscounttax-0.3.0-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
491a2dc5b348a9d328c38c9bd00b933f225560f6fc554e822a86412e07836d0c
|
|
| MD5 |
fef1c0f77877eac5efe5092f7dc26a61
|
|
| BLAKE2b-256 |
28f34a5eb12d831d83ef24651dbf76d76e355f81dc6405bf5c7c1a179e373ed2
|