How do you get 10.2? I can only think of two (reasonable) ways to think about this:
(price + 10.percent) * 2 = (10 + 1) * 2 = 11 * 2 = 22
and price + (10.percent * 2) = 10 + 20.percent = 10 + 2 = 12
Personally I would assume the latter, given standard operator precedence, where multiplication precedes addition.