//Example 2-18// //Hexadecimal to decimal conversion// a=hex2dec('2C9') //decimal equivalent of the hexadecimal number// disp(a) //answer in decimal form//