Hi @nexago
i forgot that we can have 0 also :(, here is the updated expression. I break it into Hrs,Min,and Second so easy to understand:
Hrs: split(string(outputs('DecimalHrs')),'.')[0]
Min: if(contains(string(outputs('DecimalHrs')),'.'),split(string(mul(float(concat('.',split(string(outputs('DecimalHrs')),'.')[1])),60)),'.')[0],0)
Sec: if(equals(outputs('Min'),0),0,if(contains(string(mul(float(concat('.',split(string(outputs('DecimalHrs')),'.')[1])),60)),'.'),string(mul(float(concat('.',split(string(mul(float(concat('.',split(string(outputs('DecimalHrs')),'.')[1])),60)),'.')[1])),60))
,'0'))
Final Time: concat(outputs('Hours'),':',outputs('Min'),':',outputs('Sec'))
I tested this with 50 unique combination so hopefully this should works for you.
-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.