I have Numeric Text field and entering decimal value to this. I am trying to add 0.47 and 0.32. The end result is 0.79. But I wanted to convert the same into time(0-60) and the answer supposed to be 1.19. How can I make this…
There are a number of ways to do this, depending on what you’d like to do with the result. The script below gives a couple of suggestions that might get you going:
[code]a = 0.47
b = 0.32
treat a+b as numbers, faux mod 0.60
temp = 0
sum = a+b
while sum >= 0.60:
temp = temp + 1
sum = sum - 0.60