Hi, I’m using the Web SDK to retrieve this data, but I can’t find a way to make it display in decimals as it does on the website. Is there any way within Analytics to ensure the data comes in with decimals? So far, I’ve only managed this with calculated metrics.
I am using the Web SDK to capture this value from the website's Datalayer, so this solution wouldn’t be appropriate for me. Moreover, if you use "parseInt(x).toFixed(n)", it will return an integer with n zeros as decimals (e.g., 124.00). The correct approach would be to use "parseFloat(x)" and then ".toFixed(n)" to limit the number of decimals displayed.