# Java: Convert Hexadecimal String to Decimal Integer

**Objective: **Convert a string of hexadecimal ASCII characters to decimal integer.

My code:

(https://gist.github.com/SIRHAMY/8627320)**Logic: **Go through the string, determining what value to subtract from the character’s value. After reducing the character to its int value, determine the scalar to multiply it by to convert to decimal. Add this number to the final value.