MongoDB数字类型保留2位小数

print(((0.1+0.1+0.1+0.1+0.1) /5).toFixed(2))

 

posted @ 2017-01-03 18:13  iDEAAM  阅读(4521)  评论(0编辑  收藏  举报