08.11.2022, 07:56
Modify storage keys and output address as needed:
Code:
key_total_1 = 'ontime_total_1'
key_total_2 = 'ontime_total_2'
output = '1/2/3'
value_1 = storage.get(key_total_1, 0)
value_2 = storage.get(key_total_2, 0)
delta = math.abs(value_1 - value_2)
formattime(output, delta)