def floattostr(x,xsnum):
    return str(round(x,xsnum))
#xsnum是小数位数,x是小数

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-17
  • 2021-12-12
  • 2022-12-23
  • 2022-12-23
  • 2021-12-20
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-17
  • 2022-12-23
  • 2021-09-16
  • 2021-12-06
相关资源
相似解决方案