小数点后保留两位小数

dicountPrice.toFixed(2)

 

相关文章:

  • 2021-11-18
  • 2021-08-21
  • 2021-11-22
  • 2022-12-23
猜你喜欢
  • 2021-08-07
  • 2022-12-23
  • 2021-06-20
  • 2021-12-07
  • 2022-01-28
  • 2021-12-31
  • 2022-12-23
相关资源
相似解决方案