Ceil not working at my end

Hello all!

ceil is not working at my end…
What do I make wrong?

Let’s say I want to break #ZSC# to ones, tens, hundrets etc…
Say I have 16 steps and want to get tens…
I make $(floor(#ZSC#/10))==1?100:0$ - it shows 1…
Now I want to get 6 from that
same trick: $(ceil(#ZSC#/10))==6?100:0$ and it is not working…
I have problems with ceil not for the first time…

Thx in adv for all help…

Hi @krzysztof.j.skibicki

I cannot remember who posted this a while back…

Steps in seperate digits (10k)

(floor(#ZSC#/10000))
((floor(#ZSC#/1000))-((floor(#ZSC#/10000))*10))
((floor(#ZSC#/100))-((floor(#ZSC#/1000))*10))
((floor(#ZSC#/10))-((floor(#ZSC#/100))*10))
((floor(#ZSC#/1))-((floor(#ZSC#/10))*10))

I used this formula on one of my watch faces…