Skip to main content

Handles money

Project description

tekmoney

Tek money. Handles money.

  • Handles mathematical and comparison operations on product prices
  • Implements exception handling
  • Allows specifying tax on a product price
  • Allows specifying a range for product price
  • Allows for applying discount on product prices

Installation

  • Using pip: pip install tekmoney
  • using pipenv: pipenv install tekmoney

Usage

Use Currency class to specify amount and currency denomination.

  • Currency(10, 'USD') indicates 10 us dollars
  • Currency(Decimal('13.20'), 'USD') indicates 13 US dollars and 20 cents. Use Decimal class to specify non int values

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

tekmoney-1.1.tar.gz (18.1 kB view hashes)

Uploaded source

Built Distribution

tekmoney-1.1-py3-none-any.whl (9.0 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page