You could use mod(#, #) it returns the remainder of the first number divided by the 2nd. For a floating number you’d need to make it a whole number first.
Something like
Compare 2 numbers
mod(trunc(elapsed time), 5) = 0
I understand i would go with ToString(Time(sec))
But what to do next?
I just realized it would be the same as what i am doing right now
BTW correct expression is mod(trunc(Time(“sec”)), 10)
Not 5
It needs to be 10
If it is 5 it goes from 0 to 4 never reaching 5
It would need to be 6 to reach 5 but then it would happen each 5 seconds
NOT each time 5 is at the end of seconds
Since if it is mod(trunc(Time(“sec”)), 6) it would go from 0 to 5 and then reset to 0
I’ve never used the extension. It seems powerful. For the last digit, you would need to remove the decimal then you could do things like check a character with one of the text manipulation functions. The conditions that use text now have a starts with and ends with otherwise you can use compare 2 strings.