Skip to main content

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

calculatediscounttax-0.0.1.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

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

calculatediscounttax-0.0.1-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: calculatediscounttax-0.0.1.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for calculatediscounttax-0.0.1.tar.gz
Algorithm Hash digest
SHA256 33c3b714cc3c87d6acbbc69990dc2f395b0c4d7630f8508f80d0846709a93fe1
MD5 2ea3c99f4119a64684ee2c1c6b2267a1
BLAKE2b-256 a57f9df2ab724ab4a69e3e2e8640568ec980b9aac2f6c63347dffdf1ca59c54c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for calculatediscounttax-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4fa9790a1e20e03f154f84f535a1eb29dbe59363add955173d2492b864706a3f
MD5 86799e6b80ce7c15aae53f6ccda204bb
BLAKE2b-256 a5d793e9c57646b053967596209a6472f1c17cf0e613f9080a0e98cf30749e5e

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