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

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.3.tar.gz (2.9 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: PyConvertBinary-0.0.3.tar.gz
  • Upload date:
  • Size: 2.9 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.3.tar.gz
Algorithm Hash digest
SHA256 37c9e09811160f7c68c6b7c55f323879c184dc67f071a18ce93a4cc46e80bd42
MD5 d71d2f2e42ad4b1a4b058e99e36638c8
BLAKE2b-256 f4bf49f8daa6c2f5247bfd64f10d332af0f28ced76ad8edb89b732ab07b8cc82

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