Rounding Piped Text | XM Community
Skip to main content
Question

Rounding Piped Text

  • October 22, 2020
  • 1 reply
  • 36 views

Forum|alt.badge.img

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

rondev
Level 6 ●●●●●●
Forum|alt.badge.img+22
  • Level 6 ●●●●●●
  • October 26, 2020

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