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.159 tracks/fsharp/exercises/hexadecimal/README.md
trackler-2.2.1.159 tracks/mips/exercises/hexadecimal/README.md
trackler-2.2.1.159 tracks/clojure/exercises/hexadecimal/README.md
trackler-2.2.1.159 tracks/perl5/exercises/hexadecimal/README.md
trackler-2.2.1.158 tracks/mips/exercises/hexadecimal/README.md
trackler-2.2.1.158 tracks/clojure/exercises/hexadecimal/README.md
trackler-2.2.1.158 tracks/perl5/exercises/hexadecimal/README.md
trackler-2.2.1.158 tracks/fsharp/exercises/hexadecimal/README.md
trackler-2.2.1.157 tracks/mips/exercises/hexadecimal/README.md
trackler-2.2.1.157 tracks/perl5/exercises/hexadecimal/README.md
trackler-2.2.1.157 tracks/clojure/exercises/hexadecimal/README.md
trackler-2.2.1.157 tracks/fsharp/exercises/hexadecimal/README.md
trackler-2.2.1.156 tracks/clojure/exercises/hexadecimal/README.md
trackler-2.2.1.156 tracks/perl5/exercises/hexadecimal/README.md
trackler-2.2.1.156 tracks/fsharp/exercises/hexadecimal/README.md
trackler-2.2.1.156 tracks/mips/exercises/hexadecimal/README.md
trackler-2.2.1.155 tracks/mips/exercises/hexadecimal/README.md
trackler-2.2.1.155 tracks/perl5/exercises/hexadecimal/README.md
trackler-2.2.1.155 tracks/fsharp/exercises/hexadecimal/README.md
trackler-2.2.1.155 tracks/clojure/exercises/hexadecimal/README.md