randRange( 0, 255 )

Express hexadecimal Dec.toString(16).toUpperCase() in decimal (base 10) notation.


Working right to left in the hexadecimal string, the places represent 16^0 (1), 16^1 (16), 16^2 (256), and so on.

For each place, multiply its value by the value of that place and add it to the sum.

The answer is Dec