Transform the result into hours format

hi everyone, in this simple app I would like that in label c the result should be in hours, example: in texbox A it is 5000 sec
if I put 2000 in texbox B, in the label there is the result in 0.83 hours, but it should be 0 hours and 50 minutes, how can I do it?
Thank you
COUNT.aia (30.9 KB)

That would make an hour 2410 secs which is wrong....

1 hour = 3600 seconds, therefore 50 minutes = 3600* 5/6 = 3000

To get the output you require you will have to do some maths using quotients and remainders. See the maths blocks.

sorry but I didn't understand how to do it

A thousand thanks! Great extension!!

1 Like