catxp
<SCRIPT LANGUAGE="JavaScript">
<!--
function formatFloat(src, pos)
{
    
return Math.round(src*Math.pow(10, pos))/Math.pow(10, pos);
}


alert(formatFloat(
"1212.2323"2));
//-->
</SCRIPT>

分类:

技术点:

相关文章:

  • 2021-05-21
  • 2021-12-18
  • 2021-12-18
  • 2021-12-18
  • 2021-11-18
  • 2021-12-18
  • 2021-11-18
猜你喜欢
  • 2021-11-18
  • 2021-11-18
  • 2021-03-30
  • 2021-11-18
  • 2021-12-18
  • 2021-11-18
相关资源
相似解决方案