Skip to main content

Monetary 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.1.tar.gz (1.8 kB view details)

Uploaded Source

Built Distribution

monetary-1.0.1-py2.py3-none-any.whl (3.3 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for monetary-1.0.1.tar.gz
Algorithm Hash digest
SHA256 095b3d2a7ea90ec480ed75130fcb636e115dea66a2cead836f7986e0e713b8f1
MD5 15b0dcff02b0ec67bde8709ead9aea8e
BLAKE2b-256 adc63f26d9d4f090d45c09a39f0f733c6d0698c0f7c6f9e8474459ee2b228026

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for monetary-1.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 286c92594605368399d953b316d7e571da15d582746a297cafaf4d3f4c1705d0
MD5 0fbf2cf359a0413664dd39921b179669
BLAKE2b-256 8fae12cfc45083bc840dd3434a0b7898f06b75a59cb2a6705af2ae1892c6bc8a

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