Round 2 digit after decimal point after zero in Python

前端 未结 0 1220
孤城傲影
孤城傲影 2021-01-12 05:26

Assume I have a float:

x = 0.0005953829144211724

I have to round it after the decimal to:

x = 0.00059

Similar

相关标签:
回答
  • 消灭零回复
提交回复
热议问题