Help! 1/10 seconds text based output with two digits?

Hi @ll,

Has anyone a good formula for me for a text based output of 1/10 secs? (with two digits)

Was trying to modify the #DNOW# 1/1000 formula but my programming skills and math knowledge are not good enough… :frowning:

Greetings, GAUSS

Divide the thousandths per 100 and get tenths
then round off and extract the two digits using the usual methods
Mod 10 for the units
Round Div / 10 for the tens
I am out for job and I can’t do better
Sorry

@dario.marnoni

Thanks, but this doesn´t help me a lot. I tried it but didn´t get a solution.

In the afternoon I will work on it

That would be great! Thank you!

If I understood your request…

Based upon #Dsm#:

1st digit $((floor(#Dsm#*10))-((floor(#Dsm#*1))*10))>8?1:0$
2nd digit $(1+(floor(#Dsm#*10))-((floor(#Dsm#*1))*10))<10?(1+(floor(#Dsm#*10))-((floor(#Dsm#*1))*10)):0$

Based upon #DNOW#: (or #VAR_n_T# it is the same)

1st digit $(round((#DNOW#%1000)/100))=10?1:0$
2nd digit $(round((#DNOW#%1000)/100))<10?(round((#DNOW#%1000)/100)):0$

(sometimes editor cut some symbols…)

2 Likes

Thanks a lot. I will try later. I am at work now.

I didn‘t want the digits separated but this is no problem at all

then it will be even simpler!

Hmmm … tried to insert the formulas bt they are not working for me…

Even when i enhance them with the missing “*”.

Can you please open inspection mode for me?

(Tried the #DSM# formulas…)

Greetings, GAUSS.

Try now