wlwjc
 <script type="text/javascript">
Number.prototype.toPercent = function(){
return (Math.round(this * 10000)/100).toFixed(2) + \'%\';
}
var A=0.35897, B=0.25554;
 alert([A, A.toPercent(), B, B.toPercent()].join(\'\n\'));
</script>

分类:

技术点:

相关文章:

  • 2021-12-13
  • 2022-12-23
  • 2021-10-23
  • 2021-12-22
  • 2021-12-25
  • 2021-12-16
  • 2022-12-23
猜你喜欢
  • 2021-12-25
  • 2021-12-25
  • 2022-12-23
  • 2021-12-25
  • 2021-12-25
  • 2022-12-23
  • 2021-12-10
相关资源
相似解决方案