I am using one of the Freescale pressure sensors, the application note=20 for the I2C interface is below. http://www.freescale.com/files/sensors/doc/app_note/AN3785.pdf On page 15 it explains the coefficients used in the compensation=20 algorithm. They do also give sample code for the whole calculation, but=20 it is a bit of a mess. How can I convert these 16 bit coefficients to floating point types in=20 C? I know this will drag in the floating point library (I use HiTech)=20 but I am mostly interested in this for debugging, not long term use. David --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .