Decimal, hexadecimal and binary converter