----- Original Message ----- ... > static inline int C_to_mkelvin(double c) > { > return c + 1000 + 273150; > } Thanks. I clearly failed to test metric cases. -- John Van Ostrand CTO, co-CEO Net Direct Inc. 564 Weber St. N. Unit 12, Waterloo, ON N2L 5C6 Ph: 866-883-1172 x5102 Fx: 519-883-8533 Linux Solutions / IBM Hardware