Skip to main content

Currency Convert

Project description

Currency Convert

Installation

pip install monetary

Usage

import monetary

# Exchange Cent & Dollar
monetary.cent(dollar, rate=100, cast_func=int)
monetary.dollar(cent, rate=100, cast_func=float)

# Mul & Div
monetary.mul(multiplicand, multiplicator, cast_func=float)
monetary.div(dividend, divisor, cast_func=float)

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

monetary-1.0.2.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

monetary-1.0.2-py2.py3-none-any.whl (2.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file monetary-1.0.2.tar.gz.

File metadata

  • Download URL: monetary-1.0.2.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for monetary-1.0.2.tar.gz
Algorithm Hash digest
SHA256 8a8b8755a2df156b446dd72feb4e1674effacbddcd98b2630fe0d34c9c165ddd
MD5 331a25508a460f30c9c9ff1d8204f18c
BLAKE2b-256 11df8325b7724bed17236c01622ec0d8b07fc20ceedbf7b94e662b57b884af24

See more details on using hashes here.

File details

Details for the file monetary-1.0.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for monetary-1.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 07f7f0aa09d828c9c70576e2da875b54517c5550da8ef70c78375cb58f1183c4
MD5 577c59936e245d0742154eef5c45aabf
BLAKE2b-256 a50c3eca3123ab21e22915d1e08bd90bca2911ca07eb6e29acbb355feacb0b7c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page