>multiply by advance value' process is that a lot of the precision is lost >if I divide by 1024 first. Multiplying by the advance number first would >require 24 bit maths routines. > >Anybody got any cunning ideas? The calculation must obviously be quite >quick This is standard. Have you taken any numerical algorithms classes in school? These would be of great assistance here. Look for factorizations which can make the multiply/divide faster, or better, or whatever your goal is. But then there's always the Bill Clinton method - brute-force. Do the x1024 first (hopefully you have the RAM) then the divide. Andy ================================================================== Montana Design Tech Support - http://www.montanadesign.com ==================================================================