Add minutes and calculate duration

Hello all,

long time no talk :slight_smile:
hope you all are staying busy and healthy!

Got stuck with the attached prototype and hope to pick an advise.

I’m running into 2 issues likely related to the lack of my knowledge in java:

  1. it doesn’t include decimals when calculating the time difference (duration). In the third visit instead of 4.5 it rounds it up to 5.
  2. the plus icon is supposed to add 15 min to Item.Time_Out (which triggers recalculating the duration which triggers recalculating utilization) but I can’t figure how to accomplish the 15 min addition. It just won’t take any syntax I’ve tried so far.

Thank you!example.rp (80.7 KB)