Cut two iron wires with lengths of 42 cm and 48 cm into small pieces of equal length, and there should be no surplus in each wire. How long is each segment in centimeters?
把两根长度分别是42厘米和48厘米的铁丝，截成长度相等的小段，每根都不能有剩余．每小段最长多少厘米？
<gadget id="calculator">2 * 3</gadget>
<output>6</output>

<result>6</result>