Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
MyHome example in Get Started with ThingWorx for IoT includes a temperature parameter, streamed from server (value changes periodically).
I want to display that in my Mash as a number, in a text box widget but can't figure out how to round up the numbers.
Can anyone help please?
Solved! Go to Solution.
I don't know which widget did you use to use the temperature, but if you did use a ValueDisplay you have to go to ValueFormat parameter on widget and set Renderer: Number and on format 0.00 for instance to round to two decimals.
I've attached my current Mashup.
I don't know which widget did you use to use the temperature, but if you did use a ValueDisplay you have to go to ValueFormat parameter on widget and set Renderer: Number and on format 0.00 for instance to round to two decimals.
That works. Thank you CarlesColl!