There are 240 girls in a certain primary school, and the number of boys is more than girls (1/8). How many students are there in total in this primary school?
某小学有女生240人，男生人数比女生多(1/8)，这所小学共有学生多少人？
<gadget id="calculator">1 / 8</gadget>
<output>1/8 = around 0.125</output>

<gadget id="calculator">1 + (1/8)</gadget>
<output>9/8 = around 1.125</output>

<gadget id="calculator">240 * (9/8)</gadget>
<output>270</output>

<gadget id="calculator">270 + 240</gadget>
<output>510</output>

<result>510</result>