Solved
Cannot get my math operation to round
I have a math formula within an ED field that I am trying to round to 3 decimal places. Here is how I have it currently setup:
$e{ round( q://QID106%231/SelectedAnswerRecode/1 * 2.24146232) / ( q://QID10/ChoiceTextEntryValue * .49 ) - (.017 * q://QID106%232/SelectedAnswerRecode/1 , 3 ) }
The formula is calculating correctly and I am not receiving any error message, but it also is not rounding at all. Does anyone know how to fix this?
Thanks!
Best answer by JenCX
Try this:
$e{ round(( q://QID106%231/SelectedAnswerRecode/1 * 2.24146232) / ( q://QID10/ChoiceTextEntryValue * .49 ) - (.017 * q://QID106%232/SelectedAnswerRecode/1 , 3 ) }
If that doesn't work, I would guess it's getting confused with the nesting and would recommend you save that formula as its own embedded data field and then use round on that ED.
View originalLeave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.