Rounding Piped Text | XM Community
Question

Rounding Piped Text

  • 22 October 2020
  • 1 reply
  • 22 views

Badge

Hello All, Struggling with a very "simple" rounding issue (I hope)

basic survey with summation scoring, used piped text to display ${gr://SC_ekOmnSqK5iwt8YR/Score} which works just fine but the output is 34.6589977 based on some factors I needed to use to score

I have tried a number of approaches to round it but most efforts fail, note that I do not get an "invalid expression" error I just get no score
${round(gr://SC_ekOmnSqK5iwt8YR/Score,2)}
can anyone see the error?


1 reply

Userlevel 7
Badge +22

Correct syntax:
$e{ round( gr://SC_ekOmnSqK5iwt8YR/Score , 2 ) }

Leave a Reply