mod
Syntax: %mod(a,b)
returns a modulus b. This is the remainder after dividing a by b.
Example:
#SHOW %mod(8,3)
Displays: 2
#SHOW %mod(8,4)
Displays: 0
seconds=3917
#SHOW hours:%eval(@seconds/3600) mins:%mod(@seconds/60,60) secs:%mod(@seconds,60)
Displays: hours:1 mins:5 secs:17 |