Unit conversion enabled by single select question (weight)

Good day i am trying to convert pounds to kilogram enabled for a single select question.

I had a similar problem. I created a variable (price_converted) similar to the following.

(collection_unit==2) ? // 2 is pounds
Math.Round((double)(item_price*2.20462),2) : 
// Else do not convert the collected price
item_price

Hope this helps.

1 Like

Worked like a charm…appreciate it…