Skip to main content

Basic Binary Converter

Project description

This is a programme that converts binary to decimal, and decimal to binary. DecToBin converts decimals to binary and BinToDec does the opposite. HexToDec converts hexadecimal to decimal and DecToHex does the opposite. E.g. Input - print(DecToBin(5)) Output - 101 These functions only accept integers and string as an inputs.

Change Log

0.0.1 (23/10/2022)

-First Release

0.0.2 (24/10/2022)

-DecToHex function added

0.0.3 (24/10/2022)

-HexToDec function added -Functions now accept string inputs

0.0.4 (25/10/2022)

-Improved error messages

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

PyConvertBinary-0.0.4.tar.gz (3.1 kB view details)

Uploaded Source

File details

Details for the file PyConvertBinary-0.0.4.tar.gz.

File metadata

  • Download URL: PyConvertBinary-0.0.4.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for PyConvertBinary-0.0.4.tar.gz
Algorithm Hash digest
SHA256 c6acf970d101b6ccb01363f1f506b3de0e287a5fb284aa707fd9e1fb0b656c60
MD5 477b4a45b1a83747ca0f04523abb79e0
BLAKE2b-256 ef6049d673977a7bbd2d0177fc3f74124d1d5c70f6007da38e19f1d72525adf5

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