Might want to take a moment to read http://www.embedded.com/showArticle.jhtml?articleID=189601153 about the 8 or 10 DIFFERENT rounding methods, and decide WHICH you might want to implement . . . . Robert P. Rumble rrumble1 at earthlink.net (510) 886-8337