This article has been archived. It is offered "as is" and will no longer be updated.
With a Microsoft Office InfoPath form template, if you add an expression box that evaluates a mathematical expression that involves decimal numbers, you may receive incorrect results.
This problem occurs because of a known issue when floating-point numbers are represented in the base-2 (binary) number system. For more information about floating-point errors, click the following article number to view the article in the Microsoft Knowledge Base:
42980 (Complete) Tutorial to understand IEEE floating-point errors
To resolve this problem, use the round function in the InfoPath form. For example, modify the XPath expression that is mentioned in the "More Information" section as follows: