Commodity A is sold at a 20% profit, and the selling price is 240 yuan. Commodity B is sold at a 10% loss, and the selling price is 270 yuan. Which of the two commodities A and B costs more? How many percent more?
商品甲按20%的利润卖出，卖出价是240元，商品乙按10%的亏损卖出，卖出价是270元，甲和乙两种商品的成本谁多？多百分之几？
<gadget id="calculator">10 / 100</gadget>
<output>1/10 = around 0.1</output>

<gadget id="calculator">1 - (1/10)</gadget>
<output>9/10 = around 0.9</output>

<gadget id="calculator">270 / (9/10)</gadget>
<output>300</output>

<gadget id="calculator">20 / 100</gadget>
<output>1/5 = around 0.2</output>

<gadget id="calculator">1 + (1/5)</gadget>
<output>6/5 = around 1.2</output>

<gadget id="calculator">240 / (6/5)</gadget>
<output>200</output>

<gadget id="calculator">300 - 200</gadget>
<output>100</output>

<gadget id="calculator">100 / 200</gadget>
<output>1/2 = around 0.5</output>

<result>1/2 = around 0.5</result>