下面是我的代码:
x = 1.0 y = 100000.0 print x/y
我的商显示为1.00000e-05。
1.00000e-05
有没有办法抑制科学记数法并使其显示为0.00001?我将使用结果作为字符串。
0.00001
https://stackoverflow.com/questions/658763
相似问题