阅读背景:

python:科学计数法转化为浮点型数据

来源:互联网 
1 def as_num(x):
2     y='{:.5f}'.format(x) # 5f表示保留5位小数点的float型
.format(x)



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: