Skip to main content

A package to convert between different numeral systems

Project description

Package-dkconverter

  • This package helps you to convert decimal numbers to other numeral system representations.
  • File named "conv.py" has all the functions that do so.

Getting started

Install Package using pip

pip install dkconverters==1.0.0

Import package in your pyfile

from dkconverter import conv

Get More Info on Functions Used

For your reference info on functions used are added to readme and an Example Code is also added for reference.

from dkconverter import conv
help(conv)
print(conv.bina(10))
print(conv.octl(10))
print(conv.hexdcml(10))

Function-bina

It converts decimal number into binary number which is passed as an argument to this function.

Function-octl

It converts decimal number into octal number which is passed as an argument to this function.

Function-hexdcml

It converts decimal number into hexadecimal number which is passed as an argument to this function.

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

dkconverters-1.0.0.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

dkconverters-1.0.0-py3-none-any.whl (3.2 kB view hashes)

Uploaded Python 3

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