lua如何保留一位小数?
Cocos2d-x
Lua
yangjing_hit
(yangjing_hit)
2016年04月13日 05:11
#1
lua如何保留一位小数?
yangjing_hit
(yangjing_hit)
2016年04月13日 07:54
#2
string.format("%.1f", time)
zhouciming
(zhouciming)
2016年04月13日 07:54
#3
这不是自问自答吗
seeyv
(seeyv)
2016年04月13日 09:18
#4
it is very brilliant!