Expression not working

I want to change Transparency of an object if the string value for minutes (ones place) is “one”
I am using this:

$#DmST#=“one”?100:0$

this expression It is not working, any ideas?

try this instead:
$#Dm#=1?100:0$

let me know if this is what you were thinking.

SOLVED
Im using this expression:

$(#Dm#-(floor(#Dm#/10))*10=2)?100:0$

This gets only the (ones)units in minutes.