NumConverter


Description
The program asks you to enter a value whose first character indicates the format :
d = decimal (base 10) h = hexadecimal (base 16), b = binary (base 2)
It displays this value in decimal, hexadecimal, binary and sum of powers of 2 with spaces as separators :
- Thousands to decimal values,
- Bytes for hexadecimal values,
- Quartets for binary values.

Usage
numconv.exe [bdh[value]]
  b : Binary value
  d : Decimal value
  h : Hexadecimal value
  value : Greater than or equal to 0.

Examples
numconv.exe hFFAA
numconv.exe b110011
numconv.exe

Screen capture
NumConverter

Download
numconv.exe v1.0 (3.5 KB)

Sources :
numconv.c (5.2 KB) - (View in HTML)

License
CC0 CC0 1.0 Universal (CC0 1.0)
Public Domain Dedication