HEX string to unsigned long.

Do you mean you want the sum of those values (0x198) in a 32 bit variable, or the value 0xbe1fa813 in a 32 bit variable?

Hello mate, yes i want the sum 198 hex, 408 DEC to go into a 32 bit variable.