Conditional Bug

So, I’m having problems with conditionals.

I’m trying to get the mod from the minutes tag #Dm#/10, and then check to see if it is 0.

To do this I take the minutes, divide them by ten, then subract the floored amount from the original amount.

So, ((#Dm#/10) - floor(#Dm#/10) * 10)

If Dm is 37, the result is 7
If Dm is 30 the result is 0

However, when I put ==0, the condition is never true even when the expression does == 0

Hello, it seems to me you are missing one more parenthesis. Multiplication has preference over subtraction, therefore you are doing e.g. for 37:
((37/10) - floor(37/10) * 10)

  1. floor(37/10) = floor(3.7) = 3
  2. 3 * 10 = 30
  3. 37/10 = 3.7
  4. 3.7 - 30 = -26.3

In case you put correct parenthesis:
(((37/10) - floor(37/10)) * 10)

  1. floor(37/10) = floor(3.7) = 3
  2. 37/10 = 3.7
  3. 3.7 - 3 = 0.7
  4. 0.7 * 10 = 7

I’m sorry, that was a mistake on writing it. My condition is as follows; (round(((#Dm#/10)-floor(#Dm#/10))*10))==0

Through Wolfram Alpha I’ve found that the condition is correct, but doesn’t work in Facer.

If you put expression round(((#Dm#/10)-floor(#Dm#/10))*10) as a text element to your watch, what result do you get?
I suppose you want to get numeric value of seconds (36 = 6, 23 = 3, 38 = 8 …).
After it is correct, try to put it into expression, to check, if your formula is correct or conditional statement makes the problem.

I put this Expression to Facer: $(round(((#Dm#/10)-floor(#Dm#/10))*10))==0?1:0$
and it showed 1 for 0, 10, 20, 30, 40, 50 minutes, 0 otherwise, therefore works for me.

Oh my god, I figured it out. I had one extra ( on my formula. I compared my formula and yours, and made the change. It works fine now. Thank you, lubomir.moric!