How to round an embedded variable? | XM Community
Question

How to round an embedded variable?

  • 24 November 2020
  • 1 reply
  • 28 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

Userlevel 4
Badge +4

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

Leave a Reply