exercism/go/hexadecimal
Brian Buller 1abb8f7e73 Add test case for "70000000000000000" and fix 2016-11-14 07:56:52 -06:00
..
README.md Syncing 2016-09-08 06:39:08 -05:00
hexadecimal.go Add test case for "70000000000000000" and fix 2016-11-14 07:56:52 -06:00
hexadecimal_test.go Add test case for "70000000000000000" and fix 2016-11-14 07:56:52 -06:00

README.md

Hexadecimal

Write a program that will convert a hexadecimal number, represented as a string (e.g. "10af8c"), to its decimal equivalent using first principles (i.e. no, you may not use built-in or external libraries to accomplish the conversion).

On the web we use hexadecimal to represent colors, e.g. green: 008000, teal: 008080, navy: 000080).

The program should handle invalid hexadecimal strings.

To run the tests simply run the command go test in the exercise directory.

If the test suite contains benchmarks, you can run these with the -bench flag:

go test -bench .

For more detailed info about the Go track see the help page.

Source

All of Computer Science http://www.wolframalpha.com/examples/NumberBases.html

Submitting Incomplete Problems

It's possible to submit an incomplete solution so you can see how others have completed the exercise.