Page 1 of 1

Problem with Integer math

PostPosted: Thu Jun 30, 2016 6:28 pm
by michaeltoc
Since the recent update on iOS, Calculated fields using integer fields give bad results if the integer is negative. Try this:

Set up 2 integer fields (Field1 and Field2). Set up a calculated field with the formula Field1+Field2. Add a few records, and you will see that it works fine if the integers are positive, but if one of them is negative the result is a very large number.

As a work-around, change Field1 and Field2 to Float with 0 decimal places.

Michael

Re: Problem with Integer math

PostPosted: Thu Jun 30, 2016 8:41 pm
by ddhsoftwareadmin
Hi Michael,

Thanks for the great bug catch- I had actually logged in to let everyone know that a new version is live in the store. So this one will have to wait for the next update- I'll try to get it fixed ASAP!