python - tornado模板如何获取小数点后两位
巴扎黑
巴扎黑 2017-04-18 10:14:38
0
1
422
巴扎黑
巴扎黑

reply all(1)
Peter_Zhu

Can only be converted into a string

>>> '%0.2f' % 1.10
'1.10'
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!