Parse decimal and hex numbers correctly.
Merge pull request #1 from ajperel/parse-numbers

Parse decimal and hex numbers correctly.