How to round an embedded variable? | XM Community
Skip to main content
Question

How to round an embedded variable?

  • November 24, 2020
  • 1 reply
  • 49 views

Hi!
I've made the following embedded data variable: ${gr://SC_6M4lPMHbDTjS885/WeightedMean}
I'm trying to figure out how I can get this variable to round to 2, and I've seen some other pages about the same topic, but still seem to be doing something wrong...thoughts?
I tried this and it's not working : ${ round ( gr://SC_6M4lPMHbDTjS885/WeightedMean , 2) }

1 reply

npetrov937
Level 2 ●●
Forum|alt.badge.img+4
  • Level 2 ●●
  • November 27, 2020

You need to use Qualtrics' specific math operations syntax:
$e{ round( gr://SC_6M4lPMHbDTjS885/WeightedMean , 2 ) }