I have a challenge with Better Logic - math.js , maybe someone can help me with it.

The idea is as follows:

A countdown of 120 seconds

Goal:

- Say per 10 seconds the countdown value
- Say for every second in the last 10 seconds the countdown value

I have the following flow

TRIGGER: When timer value has changed

AND : BETTER Logic Math.js expression is true

mod(countdownvar,10)==0

OR : countdownvar value less then 10

THEN : say countdownvar

The expression doesn’t work. What is the right formula to use?![TestCountdown|325x500]