ASCII HEX array to decimal

I have seen a similar question asked on this Forum before but I did not understand the answers.
I have a string array with the ASCII HEX values of temperature as follows:
Temperature[4] = '\0';//terminate string with null
Temperature[3] = 30; //=0
Temperature[2] = 31; //=1
Temperature[1] = 33; //=3
Temperature[0] = 45; //=E
Serial.println (Temperature);//=013E
This HEX number,013E is decimal 318 and (using a calculator) if devided by 16 produces the temperature 19.875.
How do I do this in Arduino code?

Hello,

You can use strtol

float temp = strtol( Temperature, NULL, 16 ) / 16.0f;

Actually, that would be "E310".

Temperature[3] = 30; //=0

The zero character is 0x30, not 30 decimal.

Thanks for the speedy response guix, that worked perfectly.
I know that 30 should have been writen 0x30, me just lazy.