Hi,
I have an embedded data field that is set to generate a random decimal number. I cannot figure out how to display this as a 2 decimal point number when i reference it in a question. The field is ${e://Field/CR1}
Page 1 / 1
$e{ round( e://Field/CR1 , 2 ) }
thank you!!
Is it possible to nest equations? For example, in the example provided, let’s say I wanted to use a field and multiply it by 2 and then round the answer to have only one digit. What would the syntax look like for that case?
OK, I think I figured out the answer to my question. It would look like this:
$e{ round( e://Field/CR1 * 2 , 1 ) }
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.