Round values in a table

Trying to us Js in the Map field of the table column. Is there a better way to do this?

Hi Cole! JS in the mapper would be the best way! You could use something like {{self.toFixed(X)}} where X is the number of decimal places you want to round to ( 0 works for whole numbers). If the data is coming in as a string rather than number, you could use {{Number(self).toFixed(2)}} to convert it to a number and round to two decimal places

2 Likes