Sha256: 79fbbb4128dd8b52f95d4d1439b1ad182739731ecfbcd86d76e1b8dce04bb6f7

Contents?: true

Size: 907 Bytes

Versions: 174

Compression:

Stored size: 907 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.

Refer to the [Exercism CoffeScript page](http://exercism.io/languages/coffeescript) for getting started with CoffeeScript.

In order to run the test, you can run the test file from the exercise directory:
```bash
jasmine-node --coffee .
```

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

174 entries across 174 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/coffeescript/exercises/hexadecimal/README.md
trackler-2.2.1.179 tracks/coffeescript/exercises/hexadecimal/README.md
trackler-2.2.1.178 tracks/coffeescript/exercises/hexadecimal/README.md
trackler-2.2.1.177 tracks/coffeescript/exercises/hexadecimal/README.md
trackler-2.2.1.176 tracks/coffeescript/exercises/hexadecimal/README.md
trackler-2.2.1.175 tracks/coffeescript/exercises/hexadecimal/README.md
trackler-2.2.1.174 tracks/coffeescript/exercises/hexadecimal/README.md
trackler-2.2.1.173 tracks/coffeescript/exercises/hexadecimal/README.md
trackler-2.2.1.172 tracks/coffeescript/exercises/hexadecimal/README.md
trackler-2.2.1.171 tracks/coffeescript/exercises/hexadecimal/README.md
trackler-2.2.1.170 tracks/coffeescript/exercises/hexadecimal/README.md
trackler-2.2.1.169 tracks/coffeescript/exercises/hexadecimal/README.md
trackler-2.2.1.167 tracks/coffeescript/exercises/hexadecimal/README.md
trackler-2.2.1.166 tracks/coffeescript/exercises/hexadecimal/README.md
trackler-2.2.1.165 tracks/coffeescript/exercises/hexadecimal/README.md
trackler-2.2.1.164 tracks/coffeescript/exercises/hexadecimal/README.md
trackler-2.2.1.163 tracks/coffeescript/exercises/hexadecimal/README.md
trackler-2.2.1.162 tracks/coffeescript/exercises/hexadecimal/README.md
trackler-2.2.1.161 tracks/coffeescript/exercises/hexadecimal/README.md
trackler-2.2.1.160 tracks/coffeescript/exercises/hexadecimal/README.md