Rounding score values | XM Community
Skip to main content

Hi,
I set the scoring of my survey to 4 decimal places but I want to show it to the respondents with only two.
I pipped a "Scoring" field like Scoring = ${gr://SC_6RnRMbQCfDhfKyV/Score} , and, of course, it shows me the 4 decimal places. I tried

  1. $e{round(gr://SC_06314PNp2z23wah/Score)}

  2. $e{round(gr://SC_06314PNp2z23wah/Score,2)}

but it doesn't seem to work.
Can you help me with this?

It works if you add spaces in the formula as applicable. Try the below:
$e{ round( gr://SC_06314PNp2z23wah/Score , 2 ) }


It works!! Many thanks!


Leave a Reply