CL help for having table check

I want my table to check if student calculated correct percent of the a price they chose on previous slide.

In the ??? below, I want it to be 20% of whatever they entered as the sweaterprice on previous slide. I can’t figure out how to do it. Thanks!

cellContent(1,2):"${sweaterprice.latex}"

cellContent(2,3): when table1.cellContent(2,2)= “???” “:white_check_mark:” OTHERWISE “N”

Should be

... table1.cellNumericValue(1,2)=numericValue(`\round(0.2*${sweaterprice.latex},2)`)

I assumed since it’s price you’d want it rounded.

1 Like