https://github.com/taran1sdev/baseconverter
Simple Go application to convert decimal numbers to their base-2/8/16 equivalents.
https://github.com/taran1sdev/baseconverter
go number-converter
Last synced: 10 months ago
JSON representation
Simple Go application to convert decimal numbers to their base-2/8/16 equivalents.
- Host: GitHub
- URL: https://github.com/taran1sdev/baseconverter
- Owner: taran1sdev
- Created: 2025-04-09T12:36:47.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-04-09T12:47:28.000Z (about 1 year ago)
- Last Synced: 2025-06-24T01:39:44.316Z (11 months ago)
- Topics: go, number-converter
- Language: Go
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# baseConverter
My first Go Application - very simple but has utility.
Accepts a decimal number as input and outputs the number in Binary, Octal and Hexidecimal.
Build:
```bash
git clone https://github.com/taran1sdev/baseConverter.git
go build baseConverter.go
```
Usage:
```bash
./baseConverter
```
Example:
```bash
$ ./baseConverter 946
Base Converter!
Decimal value: 946
--------------
Binary: 1110110010
Octal: 0o1662
Hex: 0x3B2
```