Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Does the toFixed() method not work in thingworx?
Solved! Go to Solution.
Please try Math.round(value) in your java script to achieve Rounding in ThingWorx.
var result = Math.round(5.56); //result will be 6
Please try Math.round(value) in your java script to achieve Rounding in ThingWorx.
var result = Math.round(5.56); //result will be 6
Awesome thanks.