https://github.com/g3th/binary-converter
Binary to Decimal/Decimal to Binary converter, with user input, in the Kotlin idiom.
https://github.com/g3th/binary-converter
binary converter decimal kotlin
Last synced: about 1 month ago
JSON representation
Binary to Decimal/Decimal to Binary converter, with user input, in the Kotlin idiom.
- Host: GitHub
- URL: https://github.com/g3th/binary-converter
- Owner: g3th
- Created: 2023-04-16T05:43:00.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-04T00:17:08.000Z (over 3 years ago)
- Last Synced: 2025-03-05T00:27:38.042Z (over 1 year ago)
- Topics: binary, converter, decimal, kotlin
- Language: Kotlin
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# Kotlin Binary to Decimal/Decimal to Binary Converter
## Converts any digit entered
Enter any binary or decimal number, and it will be converted via the appropriate equation.
Includes basic error checking to stop the user entering wrong values such as letters or symbols.
BUG: If decimal numbers such as 10, 11, 101 etc.. are entered they will be converted from binary to decimal, so eventually this will need to be fixed with an option or flag, or the program will need to be re-written with command-line arguments instead.