There is a piece of rectangular fabric with a length of 40 cm and a width of 24 cm. If you want to cut it into several squares of the same size without any surplus, what is the maximum side length of the cut squares in cm?
有一块长40cm，宽24cm的长方形布料，如果要裁剪成若干同样大小的正方形而没有剩余，裁剪出的小正方形的边长最大是多少cm．
<gadget id="calculator">2 * 2 * 2</gadget>
<output>8</output>

<result>8</result>