lua如何保留一位小数?

lua如何保留一位小数?

string.format("%.1f", time)

这不是自问自答吗:7:

it is very brilliant!