cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Rounding in thingworx?

SOLVED
Highlighted
Bedrock

Rounding in thingworx?

Does the toFixed() method not work in thingworx?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Rounding in thingworx?

Please try Math.round(value) in your java script to achieve Rounding in ThingWorx.

var result = Math.round(5.56);
//result will be 6

 

2 REPLIES 2

Re: Rounding in thingworx?

Please try Math.round(value) in your java script to achieve Rounding in ThingWorx.

var result = Math.round(5.56);
//result will be 6

 

Re: Rounding in thingworx?

Awesome thanks.