There are 24 boys and 22 girls in Class 4 and 2, and 1 boy is transferred. Now how many boys account for the whole class (expressed in fractions).
四2班有男生24名，女生22名，男生转走1名，现在男生占全班人数多少(用分数表示)．
<gadget id="calculator">24 - 1</gadget>
<output>23</output>

<gadget id="calculator">23 + 22</gadget>
<output>45</output>

<gadget id="calculator">23 / 45</gadget>
<output>23/45 = around 0.511111</output>

<result>23/45 = around 0.511111</result>