Decimal removal

Hi guys, just like to ask what’s the best approach on this one? While i know how to hide the decimal, i want it to show for .1 to .9 but i don’t like it to show when its .0

image

Like the image here. I’d like to remove the .0 but im confused at what condition i should go for this one. TIA

Hi there, @notjrag… one way to do what you described is to put a condition on the element that says when value <- modulo -> 1 is 0, format the display so it has 0 decimal places.

Hope this helps.

Best…
Mike

Wow, that worked! Thank you! This modulo operator is really nice but still confuses me in terms of usage

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.