How to remove decimals from text

hello

i was trying to do this with meter (something i am just trying, values probably end up going to fast to see) anyway

it does leave me with a question ive had before but never asked

how to remove decimals from values in text

corrected my if :slight_smile: i am just runnng a silent testtone so no real testing going on

here all i would need is -2.68

cheers

Try this:

thnx

test

edit i am wondering if the values coming out should perhaps follow hold (ill try data delay)

never mind the look i am finetuning

added colour changes to it :slight_smile:

test

And so the journey continues :slight_smile:

Yesterday i “liked” your post, noticed the solution reaction and i wasn’t wearing my glasses (was heading into bed) so i was not been able to read:

edit i am wondering if the values coming out should perhaps follow hold (ill try data delay)

But i don’t think this was question, just you contemplating an if.. or.. situation. but just want to let you know that i have been reading it :slight_smile:

honnestly i dont know if i should, been looking at some other things i have with meters and you never really get a clear view of it unless its a steady tone or something so i am thinking the color indicator could be enough indication your pushing it

best of 2 worlds text only gets red when its clipping while the meter remains red from -3 and orange from -12

test

now in 1.0.8 you can just show decimals chosen in widget text so no need for the math