When you create a calculated field in an InfoPath XML node (field) you may find that some of the resulting calculations produce an “Invalid Data” error: This behavior is a known issue when doing floating point calculations and is *not* specific to InfoPath
Read More...