var test=88888.234;
alert(test.toFixed(
2));// Float数据四舍五入到2位小数;

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-08-14
  • 2021-06-05
  • 2021-06-02
  • 2022-01-05
猜你喜欢
  • 2022-12-23
  • 2021-10-31
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案