School lunches are matched with meat dishes, vegetarian dishes and rice at a ratio of 1:2:3 to ensure students' balanced nutrition. Zhang Hong ate about 540 grams of lunch at school today. How many grams of rice did he eat at noon today?
学校午餐按1：2：3搭配荤菜、素菜和米饭，以保证学生营养均衡．张红今天在学校吃了大约540克的午餐，他今天中午大约吃米饭多少克？
<gadget id="calculator">1 + 2 + 3</gadget>
<output>6</output>

<gadget id="calculator">3 / 6</gadget>
<output>1/2 = around 0.5</output>

<gadget id="calculator">540 * (1/2)</gadget>
<output>270</output>

<result>270</result>