A school expanded the school building. The original plan was to invest 500,000 yuan, but the actual investment was 20% less than the plan. How much was the actual investment?
某校扩建校舍，原计划投资50万元，实际投资比计划节约了20%，实际投资多少万元？
<gadget id="calculator">20 / 100</gadget>
<output>1/5 = around 0.2</output>

<gadget id="calculator">1 - (1/5)</gadget>
<output>4/5 = around 0.8</output>

<gadget id="calculator">50 * (4/5)</gadget>
<output>40</output>

<result>40</result>