i have total field in the form here ,
it just adds calculated fields above it "fieldname1+fieldname2+..." .
The problem is that if a number greater that 454 is inserted into the "Gross tonnage" field, the sum of the calculations in the "Total" becomes incorrect and weird. Adding together numbers as big as several thousands returns a total of two digit value. All calculated fields use prec function, but the result is the same if prec is removed.
The funny thing is that all other fields with much more complex calculations always return correct values.
Looking forward to any ideas on this weird behaviour.