I was having a major challenge with a form I was developing. There is no special code. Everything is done with point and click.
To isolate the issue, I created a simple SQL table shown below. Basically 4 fields

I then created a simple repeating table linked to the database connection.
Field1 is the only field in te repeating table.
The other three fields are form fields in the table footer and I have label them how they are set up.
I used the form fields to set the default value for fields2,3 & 4 in the database.
As you can see in the first example, the total field gives a very weird result.
Under the table I just dragged the database fields so you can see the values that are getting populated.

The error on the data line just says Invalid data.
Now in the next example, I did not use 100.01 but 100.50. No form error.
I gett he error and very stange result when the decimal value is under .50

I have tried every combination of formating the fields from numbers to currentcy with no effect.
So now my question comes to is this a bug in InfoPath and how do I get around it?
I hope I have described everything adequately but if anot ask away.
Thank you
Thank you for your Help.
Art