Adjust Decimal Places Shown on Data in Dashboards

How do you adjust the number of decimal places of the App variable Data shown in dashboards?

hello @dan3w, welcome to the Tulip Community!!

just to confirm, is your Analytic displaying a number being calculated with an Expression??

if so, you can adjust the number of decimal places using the ROUND() function.

without ROUND():

with ROUND()

This article: Technical Details of the Expression Editor :link: has information if you search for ROUND().

just to confirm, is this the what you were looking for??

and again, welcome to the Tulip Community!!

gio

Not quite, see screenshots. The data is stored with more decimal places, when I see it in the dashboard it is automatically rounding the data when I do not want it to…

Hi Dan, one idea here could be to use the TOTEXT() expression, and display the number as a text string. The entire string should be displayed in that case.

Let me know if that works for you.

1 Like

Hey Kailey, what do I put in the TOTEXT(?) expression? I tried putting the #variable name but it does not accept that.

Does TOTEXT(@Weight Check-Cav2 Weight ) work?

Yes that seems to work, my bad I forgot the @. Thanks for the help!

1 Like