float f=(num & 0xff) + float(dec & 0xff)/100.0;