Rounding score values | XM Community
Solved

Rounding score values

  • 13 May 2021
  • 2 replies
  • 199 views

Badge +1

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?

icon

Best answer by Mishraji 16 May 2021, 07:08

View original

2 replies

Userlevel 4
Badge +18

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

Badge +1

It works!! Many thanks!

Leave a Reply