Stop Automatic Update of Form Fields

Stop Automatic Update of Form Fields

Hi all,

I have a form with the following fields:
- pieceLength (m)
- weightPiece (kg)
- weightMetre (kg/m)

Depending on the value put inside one of them, the others get updated using the OnUserInput field action.

The problem is that if for example I put "pieceLength" = 15 and "weightMetre" = 5 then "weightPiece" is calculated as 5 / 15 = 0.33 but soon after weightPiece is recalculated (because 15 * 0.33 = 4.95 and it's different from 5).
What I need is that the fields are correlated, but the changing of one does not influence the other if the problem is caused by a Round operation.

Thanks in advance for any help!