I recall spending days playing with tricks of integer math to get resolutio= n and scaling without using floating point. "Because floating-point takes t= oo long" A couple weeks ago I was walking a junior (three months out of col= lege, so green I have to water him) through a recent project. I was going d= own the path of integer math, he declared them as floats.... I was about to= go into full lecture mode when we actually benchmarked the code - the proc= essor still spends 99% of it's time waiting for new data. There's just noth= ing to be saved in that project to justify the time it takes to "improve" t= he code. True, if that's all you ever want to do with that system. I still think it= 's a bad habit though. =20 --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .