Sha256: 830ed67d3a44a863674c36f949c5258d4e3dfc08066aeb6de73dc20953f7a34f

Contents?: true

Size: 664 Bytes

Versions: 645

Compression:

Stored size: 664 Bytes

Contents

# Hexadecimal

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.
## Source

All of Computer Science [http://www.wolframalpha.com/examples/NumberBases.html](http://www.wolframalpha.com/examples/NumberBases.html)

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

Version data entries

645 entries across 184 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/mips/exercises/hexadecimal/README.md
trackler-2.2.1.180 tracks/perl5/exercises/hexadecimal/README.md
trackler-2.2.1.180 tracks/fsharp/exercises/hexadecimal/README.md
trackler-2.2.1.180 tracks/clojure/exercises/hexadecimal/README.md
trackler-2.2.1.179 tracks/mips/exercises/hexadecimal/README.md
trackler-2.2.1.179 tracks/clojure/exercises/hexadecimal/README.md
trackler-2.2.1.179 tracks/perl5/exercises/hexadecimal/README.md
trackler-2.2.1.179 tracks/fsharp/exercises/hexadecimal/README.md
trackler-2.2.1.178 tracks/fsharp/exercises/hexadecimal/README.md
trackler-2.2.1.178 tracks/mips/exercises/hexadecimal/README.md
trackler-2.2.1.178 tracks/clojure/exercises/hexadecimal/README.md
trackler-2.2.1.178 tracks/perl5/exercises/hexadecimal/README.md
trackler-2.2.1.177 tracks/mips/exercises/hexadecimal/README.md
trackler-2.2.1.177 tracks/clojure/exercises/hexadecimal/README.md
trackler-2.2.1.177 tracks/fsharp/exercises/hexadecimal/README.md
trackler-2.2.1.177 tracks/perl5/exercises/hexadecimal/README.md
trackler-2.2.1.176 tracks/clojure/exercises/hexadecimal/README.md
trackler-2.2.1.176 tracks/fsharp/exercises/hexadecimal/README.md
trackler-2.2.1.176 tracks/mips/exercises/hexadecimal/README.md
trackler-2.2.1.176 tracks/perl5/exercises/hexadecimal/README.md